nvchecker/tests/test_pypi.py
2017-02-28 15:27:24 +08:00

10 lines
281 B
Python

# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
class PyPITest(ExternalVersionTestCase):
def test_pypi(self):
self.assertEqual(self.sync_get_version("example", {"pypi": None}), "0.1.0")