Beispiel #1
0
 def tearDown(self):
     d = StubbedTest.tearDown(self)
     def flushit(ign):
         from epsilon.cooperator import SchedulerStopped
         self.flushLoggedErrors(SchedulerStopped)
         return ign
     return d.addCallback(flushit)
Beispiel #2
0
    def tearDown(self):
        d = StubbedTest.tearDown(self)

        def flushit(ign):
            from epsilon.cooperator import SchedulerStopped
            self.flushLoggedErrors(SchedulerStopped)
            return ign

        return d.addCallback(flushit)
 def tearDown(self):
     """
     This test suite is unfortunately awful and buggy and implicitly starts
     upgraders in substores and does not wait for them to complete.  When
     correct error logging was added to the upgrade process, they all broke.
     However, the errors logged here are mostly harmless so they are being
     quashed for the time being.
     """                     # -glyph
     d = StubbedTest.tearDown(self)
     def flushit(ign):
         from epsilon.cooperator import SchedulerStopped
         self.flushLoggedErrors(SchedulerStopped)
         return ign
     return d.addCallback(flushit)
Beispiel #4
0
    def tearDown(self):
        # Okay this is a pretty irrelevant method on a pretty irrelevant class,
        # but we'll fix it anyway.
        DummyProcessor.run = self.dummyRun

        return StubbedTest.tearDown(self)
Beispiel #5
0
    def tearDown(self):
        # Okay this is a pretty irrelevant method on a pretty irrelevant class,
        # but we'll fix it anyway.
        DummyProcessor.run = self.dummyRun

        return StubbedTest.tearDown(self)