mirror of https://github.com/scrapy/scrapy.git
Ensure spiders module reload between spider manager tests
This commit is contained in:
parent
c50f088b63
commit
dd9d3af9b3
|
|
@ -27,6 +27,7 @@ class SpiderManagerTest(unittest.TestCase):
|
|||
|
||||
def tearDown(self):
|
||||
del self.spiderman
|
||||
del sys.modules['test_spiders_xxx']
|
||||
sys.path.remove(self.tmpdir)
|
||||
|
||||
def test_interface(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue