mirror of https://github.com/scrapy/scrapy.git
Merge middleware tests back as we don't need to set the setting anymore.
This commit is contained in:
parent
50aa6ef22c
commit
16787f5bf4
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue