We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acffcca commit c90d2b8Copy full SHA for c90d2b8
tests/rest/auth/test_cli.py
@@ -71,7 +71,7 @@ def test_add_basic_auth(auth_config):
71
def test_add_basic_auth_input_username(auth_config):
72
with mock_input("user55") as input_mock, mock_secret_input("p455w0r6"):
73
cli.main(["add-basic", "https://oeo.test", "--no-try"])
74
- input_mock.assert_called_once()
+ assert input_mock.call_count == 1
75
assert "Enter username" in input_mock.call_args[0][0]
76
assert auth_config.get_basic_auth("https://oeo.test") == ("user55", "p455w0r6")
77
0 commit comments