Skip to content

Commit

Permalink
Fix SSHPass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloLec committed Oct 11, 2021
1 parent 33b86a0 commit e42d52d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_click.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
4 changes: 2 additions & 2 deletions tests/test_regex_identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e42d52d

Please sign in to comment.