From 1544042bd94b38288681b2c79a7f10672a52a19c Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Sun, 6 May 2012 13:25:55 +0200 Subject: [PATCH] PyUT: Add template tests for initdutils.py --- debian/rules | 1 + test/test_initdutils.py | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 test/test_initdutils.py diff --git a/debian/rules b/debian/rules index 07c6067..590258d 100755 --- a/debian/rules +++ b/debian/rules @@ -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 index 0000000..b422a68 --- /dev/null +++ b/test/test_initdutils.py @@ -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() -- 2.30.2