From 3e9fddcbfcc047f9338ba2b773f71395ea9f224e Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Mon, 30 Oct 2023 13:16:06 +0200 Subject: [PATCH] slight fix for test --- tests/samples/doc_ip_id_password_triple | 1 + tests/test_main.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/samples/doc_ip_id_password_triple b/tests/samples/doc_ip_id_password_triple index 0f65b732f..08cffcf2f 100644 --- a/tests/samples/doc_ip_id_password_triple +++ b/tests/samples/doc_ip_id_password_triple @@ -8,3 +8,4 @@ IP/ID/PW 192.168.0.1/master/IhqSb1Gg # FALSE

sirius 192.168.0.1/mnt/user/USBx/\\[Root_Test\\]UseCase/12345678/76125-733_FFB_2038_judgement_day6_238811_6524.apk

http://192.168.0.1/master/IhqSb1Gg/api +http://192.168.0.1/master/branch diff --git a/tests/test_main.py b/tests/test_main.py index 89a05eaa1..28580c56e 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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()