From: david-sarah Date: Tue, 3 Aug 2010 08:47:20 +0000 (-0700) Subject: test_cli.py: make 'tahoe mkdir' tests slightly less dumb (check for 'URI:' in the... X-Git-Tag: allmydata-tahoe-1.8.0b2~37 X-Git-Url: https://git.rkrishnan.org/pf/content/%22news.html/running.html?a=commitdiff_plain;h=51eeea900fa4d7106b6ffddacc73644429fb1ece;p=tahoe-lafs%2Ftahoe-lafs.git test_cli.py: make 'tahoe mkdir' tests slightly less dumb (check for 'URI:' in the output). --- diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py index b19f37eb..bc5ce312 100644 --- a/src/allmydata/test/test_cli.py +++ b/src/allmydata/test/test_cli.py @@ -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