summaryrefslogtreecommitdiffstats
path: root/tests/tests.py
blob: 02a3268f3eeabff608ebbda2285c06ef7856a286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from __future__ import absolute_import

import unittest

from tests.custodia import CustodiaTests

from custodia.message.kem import KEMTests
from custodia.secrets import SecretsTests
from custodia.store.sqlite import SqliteStoreTests


if __name__ == '__main__':
    testLoad = unittest.TestLoader()

    allUnitTests = [testLoad.loadTestsFromTestCase(SecretsTests),
                    testLoad.loadTestsFromTestCase(SqliteStoreTests),
                    testLoad.loadTestsFromTestCase(KEMTests),
                    testLoad.loadTestsFromTestCase(CustodiaTests)]

    allTestsSuite = unittest.TestSuite(allUnitTests)

    testRunner = unittest.TextTestRunner()
    testRunner.run(allTestsSuite)