Remove some cruft in test_proxy_logging
Change-Id: I7533d671a62d456d4556435aad78aab389c6cf07
This commit is contained in:
parent
e8589b2d30
commit
90d517f10e
@ -102,10 +102,6 @@ def start_response(*args):
|
|||||||
|
|
||||||
@patch_policies([StoragePolicy(0, 'zero', False)])
|
@patch_policies([StoragePolicy(0, 'zero', False)])
|
||||||
class TestProxyLogging(unittest.TestCase):
|
class TestProxyLogging(unittest.TestCase):
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def _log_parts(self, app, should_be_empty=False):
|
def _log_parts(self, app, should_be_empty=False):
|
||||||
info_calls = app.access_logger.log_dict['info']
|
info_calls = app.access_logger.log_dict['info']
|
||||||
if should_be_empty:
|
if should_be_empty:
|
||||||
@ -1035,7 +1031,3 @@ class TestProxyLogging(unittest.TestCase):
|
|||||||
''.join(resp)
|
''.join(resp)
|
||||||
log_parts = self._log_parts(app)
|
log_parts = self._log_parts(app)
|
||||||
self.assertEqual(log_parts[20], '1')
|
self.assertEqual(log_parts[20], '1')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user