Skip to content

Commit

Permalink
Fix typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hackermd committed Sep 23, 2020
1 parent d74ca39 commit 1aef511
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ def test_retrieve_instance_metadata_wado_prefix(httpserver, client, cache_dir):
cache_filename = str(cache_dir.joinpath('retrieve_instance_metadata.json'))
with open(cache_filename, 'r') as f:
content = f.read()
parsed_content = json.loads(content)
headers = {'content-type': 'application/dicom+json'}
httpserver.serve_content(content=content, code=200, headers=headers)
study_instance_uid = '1.2.3'
Expand Down Expand Up @@ -375,7 +374,6 @@ def test_iter_series(client, httpserver, cache_dir):
httpserver.serve_content(content=chunked_message, code=200, headers=headers)
study_instance_uid = '1.2.3'
series_instance_uid = '1.2.4'
sop_instance_uid = '1.2.5'
iterator = client.iter_series(
study_instance_uid, series_instance_uid
)
Expand Down Expand Up @@ -418,7 +416,6 @@ def test_retrieve_series(client, httpserver, cache_dir):
httpserver.serve_content(content=message, code=200, headers=headers)
study_instance_uid = '1.2.3'
series_instance_uid = '1.2.4'
sop_instance_uid = '1.2.5'
response = client.retrieve_series(
study_instance_uid, series_instance_uid
)
Expand Down

0 comments on commit 1aef511

Please sign in to comment.