From f913380cda8e0ec7a0455ece3f9f1d5bed98e271 Mon Sep 17 00:00:00 2001 From: David McLain Date: Thu, 14 Nov 2024 16:17:19 +0000 Subject: [PATCH] fixed minor issue in test case --- landscape/client/tests/test_configuration.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/landscape/client/tests/test_configuration.py b/landscape/client/tests/test_configuration.py index 28df9089..9dda91fe 100644 --- a/landscape/client/tests/test_configuration.py +++ b/landscape/client/tests/test_configuration.py @@ -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")