changeset 43:089d5650d7e2

check for the package in the right place
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 01 Mar 2012 11:59:02 -0800
parents 6ea806412fd1
children d9bc2a586ed4
files tests/doctest.txt
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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']