Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
Support python3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed May 13, 2020
1 parent cf17536 commit cb1dc4a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_scan_and_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,8 @@ def test_get_scan_pop(self):

fs = FakeStream()
daemon.handle_command(
f'<get_scans scan_id="{scan_id}" details="0" pop_results="1"/>', fs
'<get_scans scan_id="%s" details="0" pop_results="1"/>' % scan_id,
fs,
)
response = fs.get_response()

Expand Down Expand Up @@ -892,7 +893,7 @@ def test_get_scan_progress_xml(self):

fs = FakeStream()
daemon.handle_command(
f'<get_scans scan_id="{scan_id}" details="0" progress="1"/>', fs,
'<get_scans scan_id="%s" details="0" progress="1"/>' % scan_id, fs,
)
response = fs.get_response()

Expand Down Expand Up @@ -1002,7 +1003,7 @@ def test_result_order(self):

fs = FakeStream()
daemon.handle_command(
f'<get_scans scan_id="{scan_id}" details="1"/>', fs
'<get_scans scan_id="%s" details="1"/>' % scan_id, fs
)
response = fs.get_response()

Expand Down Expand Up @@ -1039,7 +1040,7 @@ def test_batch_result(self):

fs = FakeStream()
daemon.handle_command(
f'<get_scans scan_id="{scan_id}" details="1"/>', fs
'<get_scans scan_id="%s" details="1"/>' % scan_id, fs
)
response = fs.get_response()

Expand Down

0 comments on commit cb1dc4a

Please sign in to comment.