PyUT: Add template tests for initdutils.py
authorDidier Raboud <odyx@debian.org>
Sun, 6 May 2012 11:25:55 +0000 (13:25 +0200)
committerDidier Raboud <odyx@debian.org>
Mon, 7 May 2012 19:04:24 +0000 (21:04 +0200)
debian/rules
test/test_initdutils.py [new file with mode: 0644]

index 07c6067cd0e666b01db1fd96bae5464c1680eb88..590258d2fd91b59e72f1b638092d39b6f23b6a6f 100755 (executable)
@@ -50,6 +50,7 @@ override_dh_auto_test: $(PY2VERSIONS:%=test-python%)
 
 test-python%:
        PYTHONPATH=. python$* test/test_lsb_release.py -vv
+       PYTHONPATH=. python$* test/test_initdutils.py -vv
 
 override_dh_python2:
        dh_python2
diff --git a/test/test_initdutils.py b/test/test_initdutils.py
new file mode 100644 (file)
index 0000000..b422a68
--- /dev/null
@@ -0,0 +1,31 @@
+#!/usr/bin/python
+import unittest
+
+import initdutils as iu
+
+class TestInitdUtilse(unittest.TestCase):
+
+       @unittest.skip('Test not implemented.')
+       def test_scan_initfile():
+               raise NotImplementedError()
+       @unittest.skip('Test not implemented.')
+       def test_save_facilities():
+               raise NotImplementedError()
+       @unittest.skip('Test not implemented.')
+       def test_load_facilities():
+               raise NotImplementedError()
+       @unittest.skip('Test not implemented.')
+       def test_load_depends():
+               raise NotImplementedError()
+       @unittest.skip('Test not implemented.')
+       def test_save_depends():
+               raise NotImplementedError()
+       @unittest.skip('Test not implemented.')
+       def test_load_lsbinstall_info():
+               raise NotImplementedError()
+       @unittest.skip('Test not implemented.')
+       def test_save_lsbinstall_info():
+               raise NotImplementedError()
+
+if __name__ == '__main__':
+       unittest.main()