Example #1
0
 def setUp(self):
     super(NotificationSourceTest, self).setUp()
     self.useFixture(CaptureTwistedLogs())
     self.logger = Logger()
     self.clock = Clock()
     self.factory = AMQFactory(clock=self.clock, spec=AMQP0_8_SPEC_PATH)
     self.connector = FakeConnector(self.factory, logger=self.logger)
     self.source = NotificationSource(self.connector, clock=self.clock)
Example #2
0
 def _setUp(self):
     twisted_logs = self.useFixture(CaptureTwistedLogs())
     self._fix_twisted_logs(twisted_logs, twisted_logs.LOG_DETAIL_NAME)
 def test_something(self):
     self.useFixture(CaptureTwistedLogs())
     log.msg('foo')
Example #4
0
 def setUp(self):
     super(VoucherTests, self).setUp()
     self.useFixture(CaptureTwistedLogs())
Example #5
0
 def setUp(self):
     super(UnblindedTokenTests, self).setUp()
     self.useFixture(CaptureTwistedLogs())