BIND 10 trac2835, updated. 7642e09748501d041309b84de9d46b3aeab74a63 [2835] Update the higher-level test
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Mar 15 09:46:39 UTC 2013
The branch, trac2835 has been updated
via 7642e09748501d041309b84de9d46b3aeab74a63 (commit)
from 9dd3b10a7ce79fb1b1289136987f82c2bf9c2310 (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 7642e09748501d041309b84de9d46b3aeab74a63
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Fri Mar 15 10:42:27 2013 +0100
[2835] Update the higher-level test
We now allow having data sources with the same name if they are in
different classes. It would be significantly harder to implement and we
can identify the sources by the class+name tuple.
-----------------------------------------------------------------------
Summary of changes:
src/bin/cfgmgr/plugins/tests/datasrc_test.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/cfgmgr/plugins/tests/datasrc_test.py b/src/bin/cfgmgr/plugins/tests/datasrc_test.py
index eabde9a..3c714c6 100644
--- a/src/bin/cfgmgr/plugins/tests/datasrc_test.py
+++ b/src/bin/cfgmgr/plugins/tests/datasrc_test.py
@@ -205,8 +205,9 @@ class DatasrcTest(unittest.TestCase):
"params": {},
"name": "Whatever"
}]})
- # The same, but across different classes
- self.reject({
+ # The same, but across different classes is allowed (we would
+ # identify the data source by class+name tuple)
+ self.accept({
"IN": [
{
"type": "MasterFiles",
@@ -239,7 +240,7 @@ class DatasrcTest(unittest.TestCase):
"type": "MasterFiles",
"cache-enable": True,
"params": {},
- "name": "IN/MasterFiles"
+ "name": "MasterFiles"
},
{
"type": "MasterFiles",
More information about the bind10-changes
mailing list