mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Add new test for list value verification function
This commit is contained in:
@@ -33,3 +33,8 @@ class TestHelpersMethods(unittest.TestCase):
|
||||
data = helpers.parseArtifact(input)
|
||||
self.assertEqual(data["artifactType"], "bar")
|
||||
self.assertEqual(data["value"], "foo")
|
||||
|
||||
def test_verifyNonEmptyListValue(self):
|
||||
conf = {"file_path": ['testfile.csv']}
|
||||
path = 'file_path'
|
||||
self.assertTrue(conf, path)
|
||||
|
||||
Reference in New Issue
Block a user