Fixed the test to actually test if there are requests
This commit is contained in:
parent
321295a395
commit
073e5a12bb
@ -43,7 +43,7 @@ class TestFoumiSpider(unittest.TestCase):
|
|||||||
|
|
||||||
src2 = ChemSpider()
|
src2 = ChemSpider()
|
||||||
self.spi.add_source(src2)
|
self.spi.add_source(src2)
|
||||||
self.assertIsNotNone(self.spi.start_requests())
|
self.assertGreater(len(self.spi.start_requests()), 0)
|
||||||
|
|
||||||
def test_synonym_requests(self):
|
def test_synonym_requests(self):
|
||||||
# A test for the synonym request function
|
# A test for the synonym request function
|
||||||
|
Reference in New Issue
Block a user