fixed a unit test assert statement
This commit is contained in:
parent
243fb2a49f
commit
5e89b53ef3
@ -364,7 +364,7 @@ use = egg:swift#proxy
|
||||
self.assertEquals(item, work_request)
|
||||
# these only work for Py2.7+
|
||||
#self.assertIsInstance(ret, log_processor.BadFileDownload)
|
||||
self.assertTrue(isinstance(ret, Exception), type(ret))
|
||||
self.assertTrue(isinstance(ret, Exception))
|
||||
finally:
|
||||
log_processor.LogProcessor.get_object_data = orig_get_object_data
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user