From: Brian Warner Date: Wed, 4 Mar 2015 02:20:03 +0000 (-0800) Subject: test_cli_cp.py: turn off debug mode, tests now assert for real X-Git-Tag: allmydata-tahoe-1.10.1a1~60^2~7 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/%5B%5E?a=commitdiff_plain;h=e80697da1bc0558c73aec98042165312afe4cb48;p=tahoe-lafs%2Ftahoe-lafs.git test_cli_cp.py: turn off debug mode, tests now assert for real --- diff --git a/src/allmydata/test/test_cli_cp.py b/src/allmydata/test/test_cli_cp.py index 837f1874..802227e4 100644 --- a/src/allmydata/test/test_cli_cp.py +++ b/src/allmydata/test/test_cli_cp.py @@ -945,17 +945,17 @@ class CopyOut(GridTestMixin, CLITestMixin, unittest.TestCase): print "%-31s: got %-19s, want %-19s %s" % (case, printable_got, printable_expected, ok) return got - d.addCallback(_dump) + #d.addCallback(_dump) def _check(got): self.failUnlessEqual(got, expected, case) - #d.addCallback(_check) + d.addCallback(_check) return d def do_tests(self): # then we run various forms of "cp [-r] TAHOETHING to[/missing]" # and see what happens. d = defer.succeed(None) - print + #print for line in COPYOUT_TESTCASES.splitlines(): if "#" in line: