diff --git a/py/__init__.py b/py/__init__.py index f6084146e..711d8ab22 100644 --- a/py/__init__.py +++ b/py/__init__.py @@ -11,11 +11,11 @@ version = "0.9.1-alpha" initpkg(__name__, description = "py lib: agile development and test support library", - revision = int('$LastChangedRevision: 40832 $'.split(':')[1][:-1]), - lastchangedate = '$LastChangedDate: 2007-03-20 13:11:31 +0100 (Tue, 20 Mar 2007) $', + revision = int('$LastChangedRevision: 40834 $'.split(':')[1][:-1]), + lastchangedate = '$LastChangedDate: 2007-03-20 13:20:33 +0100 (Tue, 20 Mar 2007) $', version = version, url = "http://codespeak.net/py", - download_url = "xxx", # "http://codespeak.net/download/py/py-%s.tar.gz" %(version,), + download_url = "XXX", # "http://codespeak.net/download/py/py-%s.tar.gz" %(version,), license = "MIT license", platforms = ['unix', 'linux', 'cygwin', 'win32'], author = "holger krekel, Carl Friedrich Bolz, Guido Wesdorp, Maciej Fijalkowski, Armin Rigo & others", diff --git a/py/misc/testing/test_initpkg.py b/py/misc/testing/test_initpkg.py index 263071803..978b5a447 100644 --- a/py/misc/testing/test_initpkg.py +++ b/py/misc/testing/test_initpkg.py @@ -255,5 +255,10 @@ class TestRealModule: def test_url_of_version(): #py.test.skip("FAILING! - provide a proper URL or upload pylib tgz") from urllib import URLopener - URLopener().open(py.__package__.download_url) + url = py.__package__.download_url + if url.lower() == "xxx": + assert py.__package__.version.find("alpha") != -1 + else: + URLopener().open(url) +