Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
c540444d
Commit
c540444d
authored
Feb 17, 2012
by
Michal 'vorner' Vaner
Browse files
[1643] Minor fixes
parent
66d14dd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/python/isc/config/ccsession.py
View file @
c540444d
...
...
@@ -544,8 +544,8 @@ class UIModuleCCSession(MultiConfigData):
self
.
set_value
(
identifier
,
cur_map
)
else
:
raise
isc
.
cc
.
data
.
DataAlreadyPresentError
(
value
+
" already in "
+
identifier
)
" already in "
+
identifier
)
def
add_value
(
self
,
identifier
,
value_str
=
None
,
set_value_str
=
None
):
"""Add a value to a configuration list. Raises a DataTypeError
...
...
src/lib/python/isc/config/tests/ccsession_test.py
View file @
c540444d
...
...
@@ -544,7 +544,6 @@ class TestModuleCCSession(unittest.TestCase):
# self._common_remote_module_test(self._internal_test)
# def test_by_name(self)
# self._common_remote_module_by_name_test(self._internal_test)
def
_common_remote_module_test
(
self
,
internal_test
):
def
_common_remote_module_test
(
self
,
internal_test
):
internal_test
(
lambda
ccs
:
ccs
.
add_remote_config
,
self
.
spec_file
(
"spec2.spec"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment