test if banner works
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e162861b17
commit
5d018393a9
1 changed files with 7 additions and 0 deletions
7
test.py
7
test.py
|
@ -24,6 +24,7 @@
|
|||
import os
|
||||
import sys
|
||||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
|
@ -149,5 +150,11 @@ class Config(unittest.TestCase):
|
|||
|
||||
self.assertFalse(failed)
|
||||
|
||||
|
||||
class UI(unittest.TestCase):
|
||||
def test_banner(self):
|
||||
self.assertEqual(subprocess.call([cdist_exec_path, "banner"]), 0)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in a new issue