Archived
1
0

Fixed the test to actually test if there are requests

This commit is contained in:
Jip J. Dekker 2014-06-06 22:24:49 +02:00
parent 321295a395
commit 073e5a12bb

View File

@ -43,7 +43,7 @@ class TestFoumiSpider(unittest.TestCase):
src2 = ChemSpider()
self.spi.add_source(src2)
self.assertIsNotNone(self.spi.start_requests())
self.assertGreater(len(self.spi.start_requests()), 0)
def test_synonym_requests(self):
# A test for the synonym request function