1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

add systemctl tests

This commit is contained in:
Kelly Brazil
2019-11-17 10:56:55 -08:00
parent 51631aef5b
commit 36c53827fa
19 changed files with 1316 additions and 308 deletions

View File

@ -25,13 +25,13 @@ class MyTests(unittest.TestCase):
def test_systemctl_centos_7_7(self):
"""
Test 'systemctl' on Centos 7.7
Test 'systemctl -a' on Centos 7.7
"""
self.assertEqual(jc.parsers.systemctl.parse(self.centos_7_7_systemctl, quiet=True), self.centos_7_7_systemctl_json)
def test_systemctl_ubuntu_18_4(self):
"""
Test 'systemctl' on Ubuntu 18.4
Test 'systemctl -a' on Ubuntu 18.4
"""
self.assertEqual(jc.parsers.systemctl.parse(self.ubuntu_18_4_systemctl, quiet=True), self.ubuntu_18_4_systemctl_json)