mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
Remove it
This commit is contained in:
parent
d187e37ff3
commit
4ae6cc9775
@ -173,20 +173,7 @@ class ShouldFailMixin(object):
|
||||
|
||||
|
||||
class TestMixin(SignalMixin):
|
||||
def setUp(self, repeatable=False):
|
||||
"""
|
||||
@param repeatable: install the repeatable_randomness hacks to attempt
|
||||
to without access to real randomness and real time.time from the
|
||||
code under test
|
||||
"""
|
||||
self.repeatable = repeatable
|
||||
if self.repeatable:
|
||||
import repeatable_random
|
||||
repeatable_random.force_repeatability()
|
||||
if hasattr(time, 'realtime'):
|
||||
self.teststarttime = time.realtime()
|
||||
else:
|
||||
self.teststarttime = time.time()
|
||||
def setUp(self):
|
||||
return super(TestMixin, self).setUp()
|
||||
|
||||
def tearDown(self):
|
||||
|
Loading…
Reference in New Issue
Block a user