Skip to content

Commit c90d2b8

Browse files
committed
fix unit tests for python 3.5
1 parent acffcca commit c90d2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rest/auth/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_add_basic_auth(auth_config):
7171
def test_add_basic_auth_input_username(auth_config):
7272
with mock_input("user55") as input_mock, mock_secret_input("p455w0r6"):
7373
cli.main(["add-basic", "https://oeo.test", "--no-try"])
74-
input_mock.assert_called_once()
74+
assert input_mock.call_count == 1
7575
assert "Enter username" in input_mock.call_args[0][0]
7676
assert auth_config.get_basic_auth("https://oeo.test") == ("user55", "p455w0r6")
7777

0 commit comments

Comments
 (0)