From 748a67314fc12bfd70269949b53335f9c19b7f12 Mon Sep 17 00:00:00 2001 From: Ryan Hoang <129560634+RyHoa@users.noreply.github.com> Date: Mon, 18 Dec 2023 19:27:13 -0500 Subject: [PATCH] Update malwarebazaar_test.py --- .../files/analyzers/malwarebazaar/malwarebazaar_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/sensoroni/files/analyzers/malwarebazaar/malwarebazaar_test.py b/salt/sensoroni/files/analyzers/malwarebazaar/malwarebazaar_test.py index 5f6b49705..934ac573b 100644 --- a/salt/sensoroni/files/analyzers/malwarebazaar/malwarebazaar_test.py +++ b/salt/sensoroni/files/analyzers/malwarebazaar/malwarebazaar_test.py @@ -23,7 +23,7 @@ class TestMalwarebazaarMethods(unittest.TestCase): self.assertEqual(mock_cmd.getvalue(), expected) mock.assert_called_once() - def isInJson_string_found_in_dict(self): + def test_isInJson_string_found_in_dict(self): test_string = "helo" input_json = { "value": "test", @@ -33,7 +33,7 @@ class TestMalwarebazaarMethods(unittest.TestCase): } self.assertEqual(malwarebazaar.isInJson(input_json, test_string), True) - def isInJson_string_found_in_arr(self): + def test_isInJson_string_found_in_arr(self): test_string = "helo" input_json = { "value": "test", @@ -43,7 +43,7 @@ class TestMalwarebazaarMethods(unittest.TestCase): } self.assertEqual(malwarebazaar.isInJson(input_json, test_string), True) - def isInJson_string_not_found(self): + def test_isInJson_string_not_found(self): test_string = "ValNotInJSON" input_json = { "value": "test",