aboutsummaryrefslogtreecommitdiffstats
path: root/tests/importer_tests.py
diff options
context:
space:
mode:
authorJesse Jaggars <jjaggars@redhat.com>2012-02-23 13:27:11 -0600
committerJesse Jaggars <jjaggars@redhat.com>2012-02-23 13:27:11 -0600
commit048ccc0f30357ec2dfc1ddae09a758960ca5c041 (patch)
tree4c9b27b99794e629f4ec8a54b54b2407733120bb /tests/importer_tests.py
parent69292ec4022534f6987f1d67d4aefb07a983c38d (diff)
downloadsos-048ccc0f30357ec2dfc1ddae09a758960ca5c041.tar.gz
adding more tests and fixing an error with tar archives
Diffstat (limited to 'tests/importer_tests.py')
-rw-r--r--tests/importer_tests.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/importer_tests.py b/tests/importer_tests.py
new file mode 100644
index 00000000..91f82cc0
--- /dev/null
+++ b/tests/importer_tests.py
@@ -0,0 +1,13 @@
+import unittest
+
+from sos.utilities import ImporterHelper
+
+class ImporterHelperTests(unittest.TestCase):
+
+ def test_runs(self):
+ h = ImporterHelper(unittest)
+ modules = h.get_modules()
+ self.assertTrue('main' in modules)
+
+if __name__ == "__main__":
+ unittest.main()