def test_all_py3_projects(self): projects = pypi.all_py3_projects() if hasattr(self, 'assertGreater'): self.assertGreater(len(projects), 3000) else: self.assertTrue(len(projects) > 3000) self.assertTrue(all(project == project.lower() for project in projects)) self.assertTrue(frozenset(pypi.overrides().keys()).issubset(projects))
def test_all_lowercase(self): for name in pypi.overrides(): self.assertEqual(name, name.lower())