summaryrefslogtreecommitdiffstats
path: root/tests/unit/api/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/api/test_views.py')
-rw-r--r--tests/unit/api/test_views.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/unit/api/test_views.py b/tests/unit/api/test_views.py
deleted file mode 100644
index 650ed569c..000000000
--- a/tests/unit/api/test_views.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import unittest
-import mock
-import json
-
-from api.views import Test
-
-
-class TestTestCase(unittest.TestCase):
-
- @mock.patch('api.views.request')
- def test_post(self, mock_request):
- mock_request.json.get.side_effect = ['runTestSuite', {}]
-
- result = json.loads(Test().post())
-
- self.assertEqual('error', result['status'])
-
-
-def main():
- unittest.main()
-
-
-if __name__ == '__main__':
- main()