示例#1
0
 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))
示例#2
0
 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))
示例#3
0
 def test_all_lowercase(self):
     for name in pypi.overrides():
         self.assertEqual(name, name.lower())
示例#4
0
 def test_all_lowercase(self):
     for name in pypi.overrides():
         self.assertEqual(name, name.lower())