Add a skeleton script for collecting linux audit longs
This commit is contained in:
10
ghetto/audit/tests/test_01.py
Normal file
10
ghetto/audit/tests/test_01.py
Normal file
@ -0,0 +1,10 @@
|
||||
"""
|
||||
"""
|
||||
from .context import Audit2JSON
|
||||
|
||||
def test_get_entry():
|
||||
stream = Audit2JSON("tests/audit.log")
|
||||
entry = next(stream.get_entry(),None)
|
||||
assert entry != None
|
||||
print entry
|
||||
|
Reference in New Issue
Block a user