# HG changeset patch # User Jeff Hammel # Date 1330631942 28800 # Node ID 089d5650d7e2c1f364b160351c37e8ae5bed1fb9 # Parent 6ea806412fd11333c0c8b569cb98d8c3aa8af3b5 check for the package in the right place diff -r 6ea806412fd1 -r 089d5650d7e2 tests/doctest.txt --- a/tests/doctest.txt Thu Mar 01 10:46:16 2012 -0800 +++ b/tests/doctest.txt Thu Mar 01 11:59:02 2012 -0800 @@ -23,3 +23,10 @@ >>> filename = 'HelloWorld-0.0.tar.gz' >>> contents = file(os.path.join(here, filename)).read() >>> response = testapp.post('/', upload_files=[(field, filename, contents)]) + +Ensure that package is in the right place:: + + >>> os.listdir(directory) + ['HelloWorld'] + >>> os.listdir(os.path.join(directory, 'HelloWorld')) + ['HelloWorld-0.0.tar.gz']