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.py2
1 files changed, 1 insertions, 1 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..cf646a29c 100644
--- a/yardstick/tests/unit/apiserver/resources/test_env_action.py
+++ b/yardstick/tests/unit/apiserver/resources/test_env_action.py
@@ -32,7 +32,7 @@ class EnvTestCase(APITestCase):
time.sleep(0)
- self.assertTrue(u'status' in resp)
+ self.assertIn(u'status', resp)
def main():