From: David Stainton <dstainton415@gmail.com>
Date: Fri, 4 Dec 2015 10:00:14 +0000 (+0200)
Subject: Fix test_join_leave_join
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/index.php?a=commitdiff_plain;h=78268c11d5cf827872efc22e8e9cbc99c887ce17;p=tahoe-lafs%2Ftahoe-lafs.git

Fix test_join_leave_join
---

diff --git a/src/allmydata/test/test_cli_magic_folder.py b/src/allmydata/test/test_cli_magic_folder.py
index c23dcd37..7b52d045 100644
--- a/src/allmydata/test/test_cli_magic_folder.py
+++ b/src/allmydata/test/test_cli_magic_folder.py
@@ -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