Ejemplo n.º 1
0
def stub_sleep_fixture():
    stub_sleep()
    yield
    unstub_sleep()
Ejemplo n.º 2
0
 def tearDown(self):
     unstub_sleep()
     AioHTTPTestCase.tearDown(self)
Ejemplo n.º 3
0
 async def tearDownAsync(self):
     unstub_sleep()
     await self.session.close()
     await AioHTTPTestCase.tearDownAsync(self)