BIND 10 trac2254, updated. 9b8b55c00ba7bba8e4f95336eb2bb34c0b151efb [2254] cleanup and one extra test
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Sep 24 08:40:02 UTC 2012
The branch, trac2254 has been updated
via 9b8b55c00ba7bba8e4f95336eb2bb34c0b151efb (commit)
from 055d0ff12778c3b37b2060900cfacf59dcec2767 (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 9b8b55c00ba7bba8e4f95336eb2bb34c0b151efb
Author: Jelte Jansen <jelte at isc.org>
Date: Mon Sep 24 10:38:38 2012 +0200
[2254] cleanup and one extra test
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/config/config_data.py | 2 --
src/lib/python/isc/config/tests/ccsession_test.py | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/config/config_data.py b/src/lib/python/isc/config/config_data.py
index 723185e..e09ce33 100644
--- a/src/lib/python/isc/config/config_data.py
+++ b/src/lib/python/isc/config/config_data.py
@@ -25,8 +25,6 @@ import isc.config.module_spec
import ast
import copy
-import traceback
-
class ConfigDataError(Exception): pass
BIND10_CONFIG_DATA_VERSION = 2
diff --git a/src/lib/python/isc/config/tests/ccsession_test.py b/src/lib/python/isc/config/tests/ccsession_test.py
index 0101d50..f81b1db 100644
--- a/src/lib/python/isc/config/tests/ccsession_test.py
+++ b/src/lib/python/isc/config/tests/ccsession_test.py
@@ -997,6 +997,7 @@ class TestUIModuleCCSession(unittest.TestCase):
self.assertRaises(isc.cc.data.DataNotFoundError, uccs.remove_value, 1, "a")
self.assertRaises(isc.cc.data.DataNotFoundError, uccs.remove_value, "no_such_item", "a")
self.assertRaises(isc.cc.data.DataNotFoundError, uccs.remove_value, "Spec2/item1", "a")
+ self.assertRaises(isc.cc.data.DataNotFoundError, uccs.remove_value, "Spec2", "")
self.assertEqual({}, uccs._local_changes)
uccs.add_value("Spec2/item5", "foo")
@@ -1020,6 +1021,7 @@ class TestUIModuleCCSession(unittest.TestCase):
self.assertRaises(isc.cc.data.DataTypeError,
uccs.remove_value, "Spec2/item5", None)
+
# Check that the difference between no default and default = null
# is recognized
def test_default_null(self):
More information about the bind10-changes
mailing list