2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[2353] Test the values of component registered by BoB.register_process()

This commit is contained in:
Mukund Sivaraman
2012-12-05 11:08:54 +05:30
parent 30e529ac56
commit 40d54f7e2b

View File

@@ -1791,6 +1791,9 @@ class TestBossComponents(unittest.TestCase):
self.assertFalse(53 in bob.components)
bob.register_process(53, component)
self.assertTrue(53 in bob.components)
self.assertEqual(bob.components[53].name(), 'test')
self.assertEqual(bob.components[53].pid(), 53)
self.assertEqual(bob.components[53].address(), 'Test')
def test_start_simple(self):
'''Test simple process startup.'''