Skip to content

Commit

Permalink
fix source data location after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
stscieisenhamer committed Sep 19, 2023
1 parent 2be3809 commit b38a86c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/refactoring/test_checksum.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ def test_checksum_script_unsupported_asdf(jwst_data, tmpdir, caplog):

@mark.refactoring
@mark.checksum
def test_checksum_script_unsupported_json(test_data, tmpdir, caplog):
def test_checksum_script_unsupported_json(jwst_data, tmpdir, caplog):
"""Test that JSON is still unsupported with-respect-to-checksum"""

# setup test file
json_path = tmpdir / 'valid.json'
shutil.copy(Path(test_data) / 'valid.json', json_path)
shutil.copy(Path(jwst_data) / 'valid.json', json_path)

# Test that adding is not supported.
argv = f'crds.refactor.checksum {str(json_path)}'
Expand All @@ -215,12 +215,12 @@ def test_checksum_script_unsupported_json(test_data, tmpdir, caplog):

@mark.refactoring
@mark.checksum
def test_checksum_script_unsupported_text(test_data, tmpdir, caplog):
def test_checksum_script_unsupported_text(hst_data, tmpdir, caplog):
"""Test that unrecognized files types are not supported"""

# setup test file
file_path = tmpdir / 'opaque_fts.tmp'
shutil.copy(Path(test_data) / 'opaque_fts.tmp', file_path)
shutil.copy(Path(hst_data) / 'opaque_fts.tmp', file_path)

# Test that adding is not supported.
argv = f'crds.refactor.checksum {str(file_path)}'
Expand Down

0 comments on commit b38a86c

Please sign in to comment.