Fix how it appears we need to use mock_anything to avoid 'self' errors
Closes-Bug: #1371724 Change-Id: Ie3fdc73924ef99691879ceb5efd9d5d9bb97a836
This commit is contained in:
parent
e54a359733
commit
5d3b3da8cb
@ -106,7 +106,8 @@ class ForeverRetryUncaughtExceptionsTest(test_base.BaseTestCase):
|
||||
def exc_retrier_common_start(self):
|
||||
self.stubs.Set(time, 'sleep', self.my_time_sleep)
|
||||
self.mox.StubOutWithMock(logging, 'exception')
|
||||
self.mox.StubOutWithMock(time, 'time')
|
||||
self.mox.StubOutWithMock(time, 'time',
|
||||
use_mock_anything=True)
|
||||
self.mox.StubOutWithMock(self, 'exception_to_raise')
|
||||
|
||||
def exc_retrier_sequence(self, exc_id=None, timestamp=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user