summaryrefslogtreecommitdiff
path: root/ceilometerclient/apiclient/fake_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometerclient/apiclient/fake_client.py')
-rw-r--r--ceilometerclient/apiclient/fake_client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ceilometerclient/apiclient/fake_client.py b/ceilometerclient/apiclient/fake_client.py
index 30a0731..d897cc5 100644
--- a/ceilometerclient/apiclient/fake_client.py
+++ b/ceilometerclient/apiclient/fake_client.py
@@ -87,6 +87,9 @@ class TestResponse(requests.Response):
self.headers == other.headers and
self._content == other._content)
+ def __ne__(self, other):
+ return not self.__eq__(other)
+
class FakeHTTPClient(client.HTTPClient):