Skip to content

Commit

Permalink
slight fix for test
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Oct 30, 2023
1 parent 7472c07 commit 3e9fddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/samples/doc_ip_id_password_triple
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ IP/ID/PW 192.168.0.1/master/IhqSb1Gg
# FALSE
<p tst="auto">sirius 192.168.0.1/mnt/user/USBx/\\[Root_Test\\]UseCase/12345678/76125-733_FFB_2038_judgement_day6_238811_6524.apk</p>
http://192.168.0.1/master/IhqSb1Gg/api
http://192.168.0.1/master/branch
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ def test_param_p(self) -> None:
# internal parametrized tests to keep
items = [(" STP_PASSWORD=qbgomdtpqch \\", "qbgomdtpqch")]
for i in items:
content_provider: FilesProvider = TextProvider(["test.template", io.BytesIO(i[0].encode())])
content_provider: FilesProvider = TextProvider([("test.template", io.BytesIO(i[0].encode())),])
cred_sweeper = CredSweeper(ml_threshold=0)
cred_sweeper.run(content_provider=content_provider)
creds = cred_sweeper.credential_manager.get_credentials()
Expand Down

0 comments on commit 3e9fddc

Please sign in to comment.