summaryrefslogtreecommitdiffstats
path: root/src/journald/test/TestIndications.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/journald/test/TestIndications.py')
-rw-r--r--src/journald/test/TestIndications.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/journald/test/TestIndications.py b/src/journald/test/TestIndications.py
index 3b8dd0f..8964450 100644
--- a/src/journald/test/TestIndications.py
+++ b/src/journald/test/TestIndications.py
@@ -20,12 +20,15 @@
from journald_common import JournalBase
import time
import syslog
+import unittest
class TestIndications(JournalBase):
"""
Class for testing LMI_JournalMessageLog indications
"""
+ NEEDS_INDICATIONS = True
+
def test_check_good_filter(self):
"""
Journal: Test good indication filter
@@ -50,3 +53,6 @@ class TestIndications(JournalBase):
self.assertTrue(indication["SourceInstance"] is not None)
self.assertIn(syslog_msg, indication["SourceInstance"]["DataFormat"])
self.unsubscribe(filter_name);
+
+if __name__ == '__main__':
+ unittest.main()