BIND 10 trac213-incremental, updated. bfae9c1e78bcc1e94b4d5eef4d0bb9da1d42f30e [213] Workaround missing assertIsInstance
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Nov 3 08:41:06 UTC 2011
The branch, trac213-incremental has been updated
via bfae9c1e78bcc1e94b4d5eef4d0bb9da1d42f30e (commit)
from 9b9a92fc3d9cd1e37166f04284a922f9ab220bbe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bfae9c1e78bcc1e94b4d5eef4d0bb9da1d42f30e
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Thu Nov 3 09:40:29 2011 +0100
[213] Workaround missing assertIsInstance
Some systems don't seem to have it.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/bind10/tests/component_test.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/bind10/tests/component_test.py b/src/lib/python/isc/bind10/tests/component_test.py
index eef2b0f..010f744 100644
--- a/src/lib/python/isc/bind10/tests/component_test.py
+++ b/src/lib/python/isc/bind10/tests/component_test.py
@@ -466,7 +466,8 @@ class ComponentTests(BossUtils, unittest.TestCase):
self.assertEqual({}, self.__registered_processes)
component.start()
self.assertTrue(component.running())
- self.assertIsInstance(component._procinfo, TestProcInfo)
+ # Some versions of unittest miss assertIsInstance
+ self.assertTrue(isinstance(component._procinfo, TestProcInfo))
self.assertEqual(42, component.pid())
self.assertEqual(component, self.__registered_processes.get(42))
More information about the bind10-changes
mailing list