support/testing: improve test_luasyslog
authorFrancois Perrad <fperrad@gmail.com>
Thu, 1 Aug 2019 20:44:51 +0000 (22:44 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fri, 2 Aug 2019 15:35:44 +0000 (17:35 +0200)
Lua has a builtin lsyslog module, so let's test this one as well.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/testing/tests/package/test_luasyslog.py

index 4eb5402d0e8e6425224ca3c32dfea64321c560cf..158b95cb06788903d655a43454ec60036336f5ae 100644 (file)
@@ -10,6 +10,7 @@ class TestLuaLuasyslog(TestLuaBase):
 
     def test_run(self):
         self.login()
+        self.module_test("lsyslog")
         self.module_test("logging.syslog")
 
 
@@ -22,4 +23,5 @@ class TestLuajitLuasyslog(TestLuaBase):
 
     def test_run(self):
         self.login()
+        self.module_test("lsyslog")
         self.module_test("logging.syslog")