Merge middleware tests back as we don't need to set the setting anymore.

This commit is contained in:
Andrey Rakhmatullin 2019-12-30 12:02:19 +05:00
parent 50aa6ef22c
commit 16787f5bf4
1 changed files with 1 additions and 6 deletions

View File

@ -233,12 +233,7 @@ class MiddlewareUsingCoro(ManagerTestCase):
self.assertIs(results[0], resp)
self.assertFalse(download_func.called)
@mark.only_asyncio()
class MiddlewareUsingCoroAsyncio(ManagerTestCase):
settings_dict = {'ASYNCIO_ENABLED': True}
@mark.only_asyncio()
def test_asyncdef_asyncio(self):
resp = Response('http://example.com/index.html')