Beispiel #1
0
    def test_get_download_url(self):
        n = "pyev"
        dp = re.compile(
            "http://pypi.python.org/packages/source/p/%s/%s-.*.tar.gz" % (n, n)
        )
        u = P.get_download_url(n)

        self.assertTrue(dp.match(u))
Beispiel #2
0
    def test_get_download_url(self):
        n = "pyev"
        dp = re.compile(_BASEURL + "p/%s/%s-.*.tar.gz" % (n, n))
        u = P.get_download_url(n)

        self.assertTrue(dp.match(u))