diff options
author | Boris Bobrov <bbobrov@mirantis.com> | 2015-07-23 00:34:43 +0300 |
---|---|---|
committer | Boris Bobrov <bbobrov@mirantis.com> | 2015-07-23 07:22:57 +0000 |
commit | 0d5415e9e979a5377034352662dcfe8edc086fae (patch) | |
tree | 4c847e99e6144c8c7281befe63e0cd37307a4ca5 | |
parent | 7d5d8b343232ee5faf4de3381024095619335929 (diff) | |
download | python-keystoneclient-0d5415e9e979a5377034352662dcfe8edc086fae.tar.gz |
Remove unused time_patcher
There is no reason to patch time now, tests succeed without it
Change-Id: I3cf3017b5f86bae35276037c60cfec8dc3be20ae
-rw-r--r-- | keystoneclient/tests/unit/utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/keystoneclient/tests/unit/utils.py b/keystoneclient/tests/unit/utils.py index 2274519..22dbe02 100644 --- a/keystoneclient/tests/unit/utils.py +++ b/keystoneclient/tests/unit/utils.py @@ -12,12 +12,10 @@ import logging import sys -import time import uuid import fixtures from oslo_serialization import jsonutils -from oslotest import mockpatch import requests from requests_mock.contrib import fixture import six @@ -43,9 +41,6 @@ class TestCase(testtools.TestCase): def setUp(self): super(TestCase, self).setUp() self.logger = self.useFixture(fixtures.FakeLogger(level=logging.DEBUG)) - self.time_patcher = self.useFixture( - mockpatch.PatchObject(time, 'time', lambda: 1234)).mock - self.requests_mock = self.useFixture(fixture.Fixture()) def stub_url(self, method, parts=None, base_url=None, json=None, **kwargs): |