aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/apiserver/resources/test_env_action.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/tests/unit/apiserver/resources/test_env_action.py')
-rw-r--r--yardstick/tests/unit/apiserver/resources/test_env_action.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/yardstick/tests/unit/apiserver/resources/test_env_action.py b/yardstick/tests/unit/apiserver/resources/test_env_action.py
index b7bfe294d..657841669 100644
--- a/yardstick/tests/unit/apiserver/resources/test_env_action.py
+++ b/yardstick/tests/unit/apiserver/resources/test_env_action.py
@@ -32,12 +32,4 @@ class EnvTestCase(APITestCase):
time.sleep(0)
- self.assertTrue(u'status' in resp)
-
-
-def main():
- unittest.main()
-
-
-if __name__ == '__main__':
- main()
+ self.assertIn(u'status', resp)