diff options
| author | Simo Sorce <simo@redhat.com> | 2015-04-16 16:44:51 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2015-04-20 16:07:14 -0400 |
| commit | b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b (patch) | |
| tree | 5abfb99f7669f49cdece5c3b15c632130aaf42f4 /tests | |
| parent | f77b0158f87a13efc1d315b1bcb58cccf4406e88 (diff) | |
| download | custodia-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__.py | 0 | ||||
| -rw-r--r-- | tests/tests.py | 14 |
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) |
