From 51eeea900fa4d7106b6ffddacc73644429fb1ece Mon Sep 17 00:00:00 2001 From: david-sarah Date: Tue, 3 Aug 2010 01:47:20 -0700 Subject: [PATCH] test_cli.py: make 'tahoe mkdir' tests slightly less dumb (check for 'URI:' in the output). --- src/allmydata/test/test_cli.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.45.2