From e42d52d9fc8df1a0ffba0aff747b6d543ded1383 Mon Sep 17 00:00:00 2001 From: PabloLec Date: Mon, 11 Oct 2021 16:04:43 +0200 Subject: [PATCH] Fix SSHPass tests --- tests/test_click.py | 2 +- tests/test_regex_identifier.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_click.py b/tests/test_click.py index 6b98793..c8c51b5 100644 --- a/tests/test_click.py +++ b/tests/test_click.py @@ -631,4 +631,4 @@ def test_file_fixture_sshpass(): runner = CliRunner() result = runner.invoke(main, ["fixtures/file"]) assert result.exit_code == 0 - assert re.findall("SSHPass clear password argument", str(result.output)) + assert re.findall("SSHPass Clear Password Argument", str(result.output)) diff --git a/tests/test_regex_identifier.py b/tests/test_regex_identifier.py index bf849fa..ba81485 100644 --- a/tests/test_regex_identifier.py +++ b/tests/test_regex_identifier.py @@ -1048,9 +1048,9 @@ def test_complex_totp_URI(): def test_sshpass(): res = r.check(["sshpass -p MyPassw0RD!"]) - _assert_match_first_item("SSHPass clear password argument", res) + _assert_match_first_item("SSHPass Clear Password Argument", res) def test_sshpass_multiple_args(): res = r.check(["sshpass -P 'Please enter your password' -p MyPassw0RD!"]) - _assert_match_first_item("SSHPass clear password argument", res) + _assert_match_first_item("SSHPass Clear Password Argument", res)