mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 15:33:06 +01:00
Improved unit test coverage of new analyzers; Utilize localized summaries; Require 100% code coverage on analyzers
This commit is contained in:
@@ -25,7 +25,7 @@ class TestVirusTotalMethods(unittest.TestCase):
|
||||
self.assertEqual(mock_stdout.getvalue(), expected)
|
||||
mock.assert_called_once()
|
||||
|
||||
def checkConfigRequirements(self):
|
||||
def test_checkConfigRequirements(self):
|
||||
conf = {"not_a_key": "abcd12345"}
|
||||
with self.assertRaises(SystemExit) as cm:
|
||||
virustotal.checkConfigRequirements(conf)
|
||||
|
||||
Reference in New Issue
Block a user