Mercurial > hg > simpypi
comparison 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 |
comparison
equal
deleted
inserted
replaced
53:a40f050812cb | 54:73e6956c670a |
---|---|
57 >>> os.listdir(tmpdir) | 57 >>> os.listdir(tmpdir) |
58 ['HelloWorld-0.0'] | 58 ['HelloWorld-0.0'] |
59 >>> srcdir = os.path.join(tmpdir, 'HelloWorld-0.0') | 59 >>> srcdir = os.path.join(tmpdir, 'HelloWorld-0.0') |
60 >>> os.path.exists(os.path.join(srcdir, 'setup.py')) | 60 >>> os.path.exists(os.path.join(srcdir, 'setup.py')) |
61 True | 61 True |
62 >>> 'helloworld' in os.listdir(srcdir) | |
63 True | |
64 >>> os.listdir(os.path.join(srcdir, 'helloworld')) | |
65 ['__init__.py'] | |
62 >>> shutil.rmtree(tmpdir) | 66 >>> shutil.rmtree(tmpdir) |
63 | 67 |
64 Upload the same package but with the wrong name:: | 68 Upload the same package but with the wrong name:: |
65 | 69 |
66 >>> shutil.rmtree(os.path.join(directory, 'HelloWorld')) | 70 >>> shutil.rmtree(os.path.join(directory, 'HelloWorld')) |