summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-04-16 16:44:51 -0400
committerSimo Sorce <simo@redhat.com>2015-04-20 16:07:14 -0400
commitb9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b (patch)
tree5abfb99f7669f49cdece5c3b15c632130aaf42f4 /tests
parentf77b0158f87a13efc1d315b1bcb58cccf4406e88 (diff)
downloadcustodia-b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b.tar.gz
custodia-b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b.tar.xz
custodia-b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b.zip
Move message parsing and validation
Create a message module to deal with message types and validation. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py0
-rw-r--r--tests/tests.py14
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/__init__.py
diff --git a/tests/tests.py b/tests/tests.py
new file mode 100644
index 0000000..4eaae13
--- /dev/null
+++ b/tests/tests.py
@@ -0,0 +1,14 @@
+from custodia.secrets import SecretsTests
+from custodia.store.sqlite import SqliteStoreTests
+import unittest
+
+if __name__ == '__main__':
+ testLoad = unittest.TestLoader()
+
+ allUnitTests = [testLoad.loadTestsFromTestCase(SecretsTests),
+ testLoad.loadTestsFromTestCase(SqliteStoreTests)]
+
+ allTestsSuite = unittest.TestSuite(allUnitTests)
+
+ testRunner = unittest.TextTestRunner()
+ testRunner.run(allTestsSuite)