]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_cli.py: make 'tahoe mkdir' tests slightly less dumb (check for 'URI:' in the...
authordavid-sarah <david-sarah@jacaranda.org>
Tue, 3 Aug 2010 08:47:20 +0000 (01:47 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Tue, 3 Aug 2010 08:47:20 +0000 (01:47 -0700)
src/allmydata/test/test_cli.py

index b19f37eba23a50e661a6478e93328fab690d8882..bc5ce3120985bad9a46756c0bbaf5f7b8173a4cf 100644 (file)
@@ -2391,9 +2391,8 @@ class Mkdir(GridTestMixin, CLITestMixin, unittest.TestCase):
         def _check((rc, out, err)):
             self.failUnlessReallyEqual(rc, 0)
             self.failUnlessReallyEqual(err, "")
-            #self.failUnlessIn(..., out)
+            self.failUnlessIn("URI:", out)
         d.addCallback(_check)
-        #d.addCallback(lambda ign: ...)
 
         return d
 
@@ -2411,9 +2410,8 @@ class Mkdir(GridTestMixin, CLITestMixin, unittest.TestCase):
         def _check((rc, out, err)):
             self.failUnlessReallyEqual(rc, 0)
             self.failUnlessReallyEqual(err, "")
-            #self.failUnlessIn(..., out)
+            self.failUnlessIn("URI:", out)
         d.addCallback(_check)
-        #d.addCallback(lambda ign: ...)
 
         return d