Mercurial > hg > simpypi
diff tests/doctest.txt @ 54:73e6956c670a
ensure all the files are in the right place
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 01 Mar 2012 15:04:27 -0800 |
parents | a40f050812cb |
children | 143adebe4caa |
line wrap: on
line diff
--- a/tests/doctest.txt Thu Mar 01 14:48:39 2012 -0800 +++ b/tests/doctest.txt Thu Mar 01 15:04:27 2012 -0800 @@ -59,6 +59,10 @@ >>> srcdir = os.path.join(tmpdir, 'HelloWorld-0.0') >>> os.path.exists(os.path.join(srcdir, 'setup.py')) True + >>> 'helloworld' in os.listdir(srcdir) + True + >>> os.listdir(os.path.join(srcdir, 'helloworld')) + ['__init__.py'] >>> shutil.rmtree(tmpdir) Upload the same package but with the wrong name::