summaryrefslogtreecommitdiff
path: root/tempest/tests/lib/services/object_storage/test_object_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'tempest/tests/lib/services/object_storage/test_object_client.py')
-rw-r--r--tempest/tests/lib/services/object_storage/test_object_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tempest/tests/lib/services/object_storage/test_object_client.py b/tempest/tests/lib/services/object_storage/test_object_client.py
index a16d1d77b..1749b03f0 100644
--- a/tempest/tests/lib/services/object_storage/test_object_client.py
+++ b/tempest/tests/lib/services/object_storage/test_object_client.py
@@ -69,7 +69,7 @@ class TestObjectClient(base.TestCase):
# If the expected initial status is not 100, then an exception
# should be thrown and the connection closed
- if initial_status is 100:
+ if initial_status == 100:
status, reason = \
self.object_client.create_object_continue(cnt, obj, req_data)
else:
@@ -91,7 +91,7 @@ class TestObjectClient(base.TestCase):
mock_poc.return_value.endheaders.assert_called_once_with()
# The following steps are only taken if the initial status is 100
- if initial_status is 100:
+ if initial_status == 100:
# Verify that the method returned what it was supposed to
self.assertEqual(status, 201)