def test_is_incompatible(self): self.assertFalse(wheeler.is_compatible('http://localhost:1234/bad-1.0-py99-none-any.whl')) self.assertFalse(wheeler.is_compatible('http://localhost:1234/bad-1.0.tar.gz'))
def test_is_compatible(self): self.assertTrue(wheeler.is_compatible('http://localhost:1234/good-1.0-py2.py3-none-any.whl'))
def test_is_incompatible(self): self.assertFalse( wheeler.is_compatible( 'http://localhost:1234/bad-1.0-py99-none-any.whl')) self.assertFalse( wheeler.is_compatible('http://localhost:1234/bad-1.0.tar.gz'))
def test_is_compatible(self): self.assertTrue( wheeler.is_compatible( 'http://localhost:1234/good-1.0-py2.py3-none-any.whl'))
def test_is_incompatible(): assert not wheeler.is_compatible( 'http://localhost:1234/bad-1.0-py99-none-any.whl') assert not wheeler.is_compatible('http://localhost:1234/bad-1.0.tar.gz')
def test_is_compatible(): assert wheeler.is_compatible( 'http://localhost:1234/good-1.0-py2.py3-none-any.whl')