Add a testcase for PyPI

This commit is contained in:
Felix Yan 2015-11-04 20:15:43 +08:00
parent 15b800d5a8
commit 793b1ad0da
1 changed files with 6 additions and 0 deletions

6
tests/test_pypi.py Normal file
View File

@ -0,0 +1,6 @@
from tests.helper import ExternalVersionTestCase
class PyPITest(ExternalVersionTestCase):
def test_pypi(self):
self.assertEqual(self.sync_get_version("example", {"pypi": None}), "0.1.0")