Fix test_join_leave_join
authorDavid Stainton <dstainton415@gmail.com>
Fri, 4 Dec 2015 10:00:14 +0000 (12:00 +0200)
committerDavid Stainton <dstainton415@gmail.com>
Thu, 17 Dec 2015 11:19:59 +0000 (13:19 +0200)
src/allmydata/test/test_cli_magic_folder.py

index c23dcd372d59ccbbac6a90cfea4a56e5505764bf..7b52d04504d4101685efcc17a7d8f537d3e6326a 100644 (file)
@@ -298,11 +298,10 @@ class CreateMagicFolder(MagicFolderCLITestMixin, unittest.TestCase):
             d2 = defer.succeed(None)
             def join_again(ignore):
                 return self.do_join(0, unicode(local_dir), self.invite_code)
-                #return self.do_cli("magic-folder", "join", invite_code, unicode(local_dir), client_num=0)
             d2.addCallback(join_again)
             def get_results(result):
                 code = result[0]
-                #self.failIfEqual(code, 0)
+                self.failUnlessEqual(code, 0)
             d2.addCallback(get_results)
             return d2