]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
tests: rename *WithMockCloudBackend to *WithCloudBackendAndMockContainer.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 8 Apr 2014 22:05:58 +0000 (23:05 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 21:31:41 +0000 (22:31 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_crawler.py
src/allmydata/test/test_storage.py
src/allmydata/test/test_system.py

index 2ad42a6cb70cc2a7a8569900ed164ecbd56c5585..7421467f28e5b1573844cc8b7ae1dc2b59c41f3a 100644 (file)
@@ -264,6 +264,6 @@ class CrawlerTestWithDiskBackend(CrawlerTest, unittest.TestCase):
         return DiskBackend(basedir)
 
 
-class CrawlerTestWithMockCloudBackend(CrawlerTest, unittest.TestCase):
+class CrawlerTestWithCloudBackendAndMockContainer(CrawlerTest, unittest.TestCase):
     def make_backend(self, basedir):
         return CloudBackend(MockContainer(basedir))
index 20c88adb067fa4fd9872b3aa8e0ac30b2fd0e371..528a8ca4847edea93b8311412d26405039d0bc1e 100644 (file)
@@ -2885,7 +2885,7 @@ class ServerWithNullBackend(ServiceParentMixin, WorkdirMixin, ServerMixin, unitt
         return d
 
 
-class WithMockCloudBackend(ServiceParentMixin, WorkdirMixin):
+class WithCloudBackendAndMockContainer(ServiceParentMixin, WorkdirMixin):
     def create(self, name, detached=False, readonly=False, reserved_space=0, klass=StorageServer):
         assert not readonly
         workdir = self.workdir(name)
@@ -2928,7 +2928,7 @@ class WithDiskBackend(ServiceParentMixin, WorkdirMixin):
         return MutableDiskShare
 
 
-class ServerWithMockCloudBackend(WithMockCloudBackend, ServerTest, unittest.TestCase):
+class ServerWithCloudBackendAndMockContainer(WithCloudBackendAndMockContainer, ServerTest, unittest.TestCase):
     def setUp(self):
         ServiceParentMixin.setUp(self)
 
@@ -3306,7 +3306,7 @@ class ServerWithDiskBackend(WithDiskBackend, ServerTest, unittest.TestCase):
         return d
 
 
-class MutableServerWithMockCloudBackend(WithMockCloudBackend, MutableServerTest, unittest.TestCase):
+class MutableServerWithCloudBackendAndMockContainer(WithCloudBackendAndMockContainer, MutableServerTest, unittest.TestCase):
     def setUp(self):
         ServiceParentMixin.setUp(self)
 
@@ -5463,7 +5463,7 @@ class AccountingCrawlerWithDiskBackend(WithDiskBackend, AccountingCrawlerTest, u
     pass
 
 
-#class AccountingCrawlerWithMockCloudBackend(WithMockCloudBackend, AccountingCrawlerTest, unittest.TestCase):
+#class AccountingCrawlerWithCloudBackendAndMockContainer(WithCloudBackendAndMockContainer, AccountingCrawlerTest, unittest.TestCase):
 #    pass
 
 
@@ -5595,7 +5595,7 @@ class WebStatusWithDiskBackend(WithDiskBackend, WebRenderingMixin, unittest.Test
         self.failUnlessEqual(remove_prefix("foo.bar", "baz."), None)
 
 
-class WebStatusWithMockCloudBackend(WithMockCloudBackend, WebRenderingMixin, unittest.TestCase):
+class WebStatusWithCloudBackendAndMockContainer(WithCloudBackendAndMockContainer, WebRenderingMixin, unittest.TestCase):
     def test_status(self):
         server = self.create("test_status")
 
index 3dab5c4be66e331dd1dd4aaae23fe650e616dea2..3f49e1afc54f7355eddb4b417a8cdfe1f5fc18c6 100644 (file)
@@ -1949,7 +1949,7 @@ class SystemWithDiskBackend(SystemTest, unittest.TestCase):
         pass
 
 
-class SystemWithMockCloudBackend(SystemTest, unittest.TestCase):
+class SystemWithCloudBackendAndMockContainer(SystemTest, unittest.TestCase):
     def setUp(self):
         SystemTest.setUp(self)