From e80697da1bc0558c73aec98042165312afe4cb48 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 3 Mar 2015 18:20:03 -0800 Subject: [PATCH] test_cli_cp.py: turn off debug mode, tests now assert for real --- src/allmydata/test/test_cli_cp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.45.2