BIND 10 trac698, updated. d6c0273c617498a8bee3a813e013837e7c16b7e6 [trac698] add self._closed add the missing member variable to the fake class (FakeModuleCCSession)
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 17 07:46:25 UTC 2011
The branch, trac698 has been updated
via d6c0273c617498a8bee3a813e013837e7c16b7e6 (commit)
from 99fdcbeaa5ea2a5432fc47f39c5ed40f4850b843 (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 d6c0273c617498a8bee3a813e013837e7c16b7e6
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Thu Mar 17 16:34:15 2011 +0900
[trac698] add self._closed
add the missing member variable to the fake class (FakeModuleCCSession)
-----------------------------------------------------------------------
Summary of changes:
.../isc/config/tests/unittest_fakesession.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/config/tests/unittest_fakesession.py b/src/lib/python/isc/config/tests/unittest_fakesession.py
index e31b436..e45bde6 100644
--- a/src/lib/python/isc/config/tests/unittest_fakesession.py
+++ b/src/lib/python/isc/config/tests/unittest_fakesession.py
@@ -35,6 +35,7 @@ class FakeModuleCCSession:
# the message_queue is empty when receive is called, throw
# a SessionTimeout
self._timeout = 0
+ self._closed = False
def group_subscribe(self, group_name, instance_name = None):
if not group_name in self.subscriptions:
@@ -95,6 +96,7 @@ class FakeModuleCCSession:
def close(self):
# need to pass along somehow that this function has been called,
self._socket = "closed"
+ self._closed = True
def set_timeout(self, timeout):
self._timeout = timeout
More information about the bind10-changes
mailing list