示例#1
0
    def tearDown(self):
        self.test_completed = time.time()
        duration = self.test_completed - self.test_start

        if duration > test_duration_warning_interval:
            print(' %0.3fs' % duration, end=' ')
            sys.stdout.flush()

        unpatch_request()
示例#2
0
    def tearDown(self):
        """Tear down test."""
        super(ForceCacheMixin, self).tearDown()

        unpatch_request()
示例#3
0
    def tearDown(self):
        """Tear down test."""
        super(ForceCacheMixin, self).tearDown()

        unpatch_request()
示例#4
0
 def tearDown(self):
     unpatch_request()