Merge "Add support for restarting a service"
[yardstick.git] / yardstick / tests / unit / apiserver / resources / test_env_action.py
index b7bfe29..6578416 100644 (file)
@@ -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)