slap test: there is no condition to try to unpatch httplib.

parent 02a5857c
...@@ -50,8 +50,7 @@ class SlapMixin(unittest.TestCase): ...@@ -50,8 +50,7 @@ class SlapMixin(unittest.TestCase):
self.partition_id = 'PARTITION_01' self.partition_id = 'PARTITION_01'
def tearDown(self): def tearDown(self):
if self._server_url is None: self._unpatchHttplib()
self._unpatchHttplib()
def _patchHttplib(self): def _patchHttplib(self):
"""Overrides httplib""" """Overrides httplib"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment