Mercurial > hg > simpypi
diff tests/doctest.txt @ 47:cb24b5265557
clean out tmpdir
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 01 Mar 2012 13:42:42 -0800 |
parents | d9bc2a586ed4 |
children | ca456e08924f |
line wrap: on
line diff
--- a/tests/doctest.txt Thu Mar 01 13:36:38 2012 -0800 +++ b/tests/doctest.txt Thu Mar 01 13:42:42 2012 -0800 @@ -31,3 +31,9 @@ ['HelloWorld'] >>> os.listdir(os.path.join(directory, 'HelloWorld')) ['HelloWorld-0.0.tar.gz'] + +Upload the same package but with the wrong name:: + + >>> shutil.rmtree(os.path.join(directory, 'HelloWorld')) + >>> os.listdir(directory) + []