aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/api/actions/test_test.py
blob: 158062ff46ac7c89bf1d4951583e2efcaf96ae26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import unittest
import json

from api.actions import test


class RunTestCase(unittest.TestCase):

    def test_runTestCase_with_no_testcase_arg(self):
        args = {}
        output = json.loads(test.runTestCase(args))

        self.assertEqual('error', output['status'])


def main():
    unittest.main()


if __name__ == '__main__':
    main()