diff tests/doctest.txt @ 13:f522620c6a78

now works properly with tarballs
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 08 Jul 2011 15:20:01 -0700
parents d1f090c5f291
children 996d579f0dc3
line wrap: on
line diff
--- a/tests/doctest.txt	Fri Jul 08 15:04:15 2011 -0700
+++ b/tests/doctest.txt	Fri Jul 08 15:20:01 2011 -0700
@@ -14,7 +14,7 @@
 Invoke carton::
 
     >>> os.chdir(directory)
-    >>> packages = [os.path.join(here, i) for i in 'packageB', 'packageA']
+    >>> packages = [os.path.join(here, i) for i in 'packageC.tar.gz', 'packageB', 'packageA']
     >>> carton.main(['foo'] + packages)
     >>> os.listdir('.')
     ['foo.py']
@@ -29,7 +29,7 @@
     >>> os.path.isdir('foo')
     True
     >>> sorted(os.listdir(os.path.join('foo', 'src')))
-    ['packageA', 'packageB']
+    ['packageA', 'packageB', 'packageC']
 
 Clean up::