]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_cli_cp.py: turn off debug mode, tests now assert for real
authorBrian Warner <warner@lothar.com>
Wed, 4 Mar 2015 02:20:03 +0000 (18:20 -0800)
committerBrian Warner <warner@lothar.com>
Wed, 4 Mar 2015 02:20:03 +0000 (18:20 -0800)
src/allmydata/test/test_cli_cp.py

index 837f1874c6a5cc0bcfcbe2661dcd8e4bf0564868..802227e4cea20cc85055373c8415c535c6d77f90 100644 (file)
@@ -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: