Mercurial > hg > simpypi
changeset 47:cb24b5265557
clean out tmpdir
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 01 Mar 2012 13:42:42 -0800 |
parents | 5a89eb717987 |
children | fbba2df5c094 |
files | tests/doctest.txt |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
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) + []