From be4df48742f5250574d2cc36f6bca95bbd6ff47a Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Thu, 1 May 2025 15:44:34 -0400 Subject: [PATCH] deps update --- salt/sensoroni/files/analyzers/whoislookup/whoislookup_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/sensoroni/files/analyzers/whoislookup/whoislookup_test.py b/salt/sensoroni/files/analyzers/whoislookup/whoislookup_test.py index 9aa596095..61cd49a68 100755 --- a/salt/sensoroni/files/analyzers/whoislookup/whoislookup_test.py +++ b/salt/sensoroni/files/analyzers/whoislookup/whoislookup_test.py @@ -36,7 +36,7 @@ class TestWhoisLookupMethods(unittest.TestCase): def test_sendReqNotFound(self): mock = MagicMock() - mock.side_effect = whoisit.errors.ResourceDoesNotExist() + mock.side_effect = whoisit.errors.ResourceDoesNotExist("foo") with patch('whoisit.domain', new=mock): response = whoislookup.sendReq("abcd1234.com") mock.assert_called_once_with("abcd1234.com", raw=True)