forked from ungleich-public/cdist
test config of localhost
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
3265755bb9
commit
f357eb3038
1 changed files with 5 additions and 0 deletions
5
test.py
5
test.py
|
@ -161,6 +161,11 @@ class UI(unittest.TestCase):
|
||||||
for cmd in cdist_commands:
|
for cmd in cdist_commands:
|
||||||
self.assertEqual(subprocess.call([cdist_exec_path, cmd, "-h"]), 0)
|
self.assertEqual(subprocess.call([cdist_exec_path, cmd, "-h"]), 0)
|
||||||
|
|
||||||
|
# FIXME: mockup needed
|
||||||
|
def test_config_localhost(self):
|
||||||
|
for cmd in cdist_commands:
|
||||||
|
self.assertEqual(subprocess.call([cdist_exec_path, "config", "localhost"]), 0)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in a new issue