]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2353] Rename MockBob2 to MockBobSimple
authorMukund Sivaraman <muks@isc.org>
Thu, 15 Nov 2012 06:23:34 +0000 (11:53 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 15 Nov 2012 06:23:34 +0000 (11:53 +0530)
src/bin/bind10/tests/bind10_test.py.in

index 4fb609c30b96b5e0e7e18e6773d20c23d240521d..3a4a755e9f9e678291ed808f2f98995b828df115 100644 (file)
@@ -717,7 +717,7 @@ class MockBob(BoB):
         self.get_process_exit_status_called = True
         return (53, 0)
 
-class MockBob2(BoB):
+class MockBobSimple(BoB):
     def __init__(self):
         BoB.__init__(self)
         # Set which process has been started
@@ -1480,7 +1480,7 @@ class TestBossComponents(unittest.TestCase):
 
     def test_start_simple(self):
         '''Test simple process startup.'''
-        bob = MockBob2()
+        bob = MockBobSimple()
         bob.c_channel_env = {}
 
         # non-verbose case
@@ -1499,7 +1499,7 @@ class TestBossComponents(unittest.TestCase):
     # do different things.
     def test_start_auth2(self):
         '''Test that b10-auth is started.'''
-        bob = MockBob2()
+        bob = MockBobSimple()
         bob.c_channel_env = {}
         bob.start_auth()
         self.assertEqual('b10-auth', bob.started_process_name)
@@ -1509,7 +1509,7 @@ class TestBossComponents(unittest.TestCase):
     # do different things.
     def test_start_resolver2(self):
         '''Test that b10-resolver is started.'''
-        bob = MockBob2()
+        bob = MockBobSimple()
         bob.c_channel_env = {}
         bob.start_resolver()
         self.assertEqual('b10-resolver', bob.started_process_name)
@@ -1517,7 +1517,7 @@ class TestBossComponents(unittest.TestCase):
 
     def test_start_cmdctl(self):
         '''Test that b10-cmdctl is started.'''
-        bob = MockBob2()
+        bob = MockBobSimple()
         bob.c_channel_env = {}
         bob.start_cmdctl()
         self.assertEqual('b10-cmdctl', bob.started_process_name)