remove debug print statements
authorDavid Stainton <dstainton415@gmail.com>
Sat, 12 Sep 2015 18:10:45 +0000 (20:10 +0200)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 15 Sep 2015 17:43:00 +0000 (18:43 +0100)
src/allmydata/test/no_network.py
src/allmydata/test/test_cli_magic_folder.py

index e3b4ef884bfca021f02da25d255151d89706ddd0..2dc59381ba57ff559c36338bcb1861429aefe629 100644 (file)
@@ -388,11 +388,9 @@ class GridTestMixin:
 
     def restart_client(self, i=0):
         client = self.g.clients[i]
-        #client_basedir = self.get_clientdir()
         d = defer.succeed(None)
         d.addCallback(lambda ign: self.g.removeService(client))
         def _make_client(ign):
-            #self.set_clientdir(client_basedir, i)
             c = self.g.make_client(i, write_config=False)
             self.g.clients[i] = c
             self._record_webports_and_baseurls()
index 3349fac30dd9faca296888ec34f24aa54aa97715..8d1eb894b8f645c14af61eef6e027e7f13abd890 100644 (file)
@@ -109,17 +109,13 @@ class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin):
         return magicfolder
 
     def create_magicfolder(self, client_num=0):
-        print "create_magicfolder clientdir %s" % (self.get_clientdir(i=client_num),)
         dbfile = abspath_expanduser_unicode(u"private/magicfolderdb.sqlite", base=self.get_clientdir(i=client_num))
-        print "create_magicfolder: dbfile: %s" % (dbfile,)
         self.collective_dircap, self.upload_dircap = self.get_caps_from_files(client_num)
-
         self.magicfolder = MagicFolder(self.get_client(client_num), self.upload_dircap, self.collective_dircap, self.local_dir,
                                        dbfile, inotify=self.inotify, pending_delay=0.2)
         self.magicfolder.setServiceParent(self.get_client(client_num))
         return self.magicfolder.ready()
 
-
     def setup_alice_and_bob(self):
         self.set_up_grid(num_clients=2)