fix(tests): fix failing tests

This commit is contained in:
Vadim Kravcenko 2016-07-14 19:01:18 +02:00
parent 63be6bb253
commit 987eb7af67

View File

@ -63,7 +63,7 @@ class TestPipreqs(unittest.TestCase):
imports = pipreqs.get_all_imports(self.project)
with_info = pipreqs.get_imports_info(imports)
# Should contain 10 items without the "nonexistendmodule" and "after_method_is_valid_even_if_not_pep8"
self.assertEqual(len(with_info), 10)
self.assertEqual(len(with_info), 11)
for item in with_info:
self.assertTrue(
item['name'].lower() in self.modules,