Skip to content

Commit

Permalink
fixed minor issue in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mclain committed Nov 14, 2024
1 parent bc5cb32 commit f913380
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion landscape/client/tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,11 @@ def test_register_insecure_id(

mock_setup.assert_called_once()
mock_input.assert_not_called()
mock_set_secure_id.assert_called_once_with(mock.ANY, mock.ANY, 10)
mock_set_secure_id.assert_called_once_with(
mock.ANY,
"fake-secure-id",
10,
)

@mock.patch("landscape.client.configuration.input")
@mock.patch("landscape.client.configuration.attempt_registration")
Expand Down

0 comments on commit f913380

Please sign in to comment.