Rename MagicFolderCLITestMixin to MagicFolderTestMixin.
authorDaira Hopwood <daira@jacaranda.org>
Mon, 20 Jul 2015 22:01:44 +0000 (23:01 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 20 Jul 2015 23:48:11 +0000 (00:48 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_cli_magic_folder.py
src/allmydata/test/test_magic_folder.py

index 7b526c9567a6fe3a50e62437fcd3462352e6eef9..1cbe9ca61ed69758f9249d8dbd4cb3797455ef58 100644 (file)
@@ -13,7 +13,8 @@ from allmydata.util.fileutil import abspath_expanduser_unicode
 from allmydata.frontends.magic_folder import MagicFolder
 from allmydata import uri
 
-class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin):
+
+class MagicFolderTestMixin(CLITestMixin, GridTestMixin):
 
     def do_create_magic_folder(self, client_num):
         d = self.do_cli("magic-folder", "create", "magic:", client_num=client_num)
@@ -156,7 +157,7 @@ class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin):
         return d
 
 
-class CreateMagicFolder(MagicFolderCLITestMixin, unittest.TestCase):
+class CreateMagicFolder(MagicFolderTestMixin, unittest.TestCase):
 
     def test_create_and_then_invite_join(self):
         self.basedir = "cli/MagicFolder/create-and-then-invite-join"
index d1f2a8748df11f88f071af88dce3b4775059dd79..e684970ffcf4809a8180c46234b7d59a14a76b6e 100644 (file)
@@ -12,14 +12,15 @@ from allmydata.util.consumer import download_to_data
 from allmydata.test.no_network import GridTestMixin
 from allmydata.test.common_util import ReallyEqualMixin, NonASCIIPathMixin
 from allmydata.test.common import ShouldFailMixin
-from allmydata.test.test_cli_magic_folder import MagicFolderCLITestMixin
+from allmydata.test.test_cli_magic_folder import MagicFolderTestMixin
 
 from allmydata.frontends import magic_folder
 from allmydata.frontends.magic_folder import MagicFolder
 from allmydata import backupdb, magicpath
 from allmydata.util.fileutil import abspath_expanduser_unicode
 
-class MagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, ReallyEqualMixin, NonASCIIPathMixin):
+
+class MagicFolderTestMixin(MagicFolderTestMixin, ShouldFailMixin, ReallyEqualMixin, NonASCIIPathMixin):
     """
     These tests will be run both with a mock notifier, and (on platforms that support it)
     with the real INotify.