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
Sebastian Schrader
Kea
Commits
4a8925ec
Commit
4a8925ec
authored
Feb 23, 2011
by
Michal 'vorner' Vaner
Browse files
[trac565] Fix extra self in params
parent
34d182ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bind10/tests/bind10_test.py
View file @
4a8925ec
...
...
@@ -257,33 +257,33 @@ class TestStartStopProcessesBob(unittest.TestCase):
self
.
assertEqual
(
bob
.
cmdctl
,
core
)
def
check_preconditions
(
self
,
bob
):
self
.
check_started
(
self
,
bob
,
False
,
False
,
False
)
self
.
check_started
(
bob
,
False
,
False
,
False
)
def
check_started_none
(
self
,
bob
):
"""
Check that the situation is according to configuration where no servers
should be started. Some processes still need to be running.
"""
self
.
check_started
(
self
,
bob
,
True
,
False
,
False
)
self
.
check_started
(
bob
,
True
,
False
,
False
)
def
check_started_both
(
self
,
bob
):
"""
Check the situation is according to configuration where both servers
(auth and resolver) are enabled.
"""
self
.
check_started
(
self
,
bob
,
True
,
True
,
True
)
self
.
check_started
(
bob
,
True
,
True
,
True
)
def
check_started_auth
(
self
,
bob
):
"""
Check the set of processes needed to run auth only is started.
"""
self
.
check_started
(
self
,
bob
,
True
,
True
,
False
)
self
.
check_started
(
bob
,
True
,
True
,
False
)
def
check_started_resolver
(
self
,
bob
):
"""
Check the set of processes needed to run resolver only is started.
"""
self
.
check_started
(
self
,
bob
,
True
,
False
,
True
)
self
.
check_started
(
bob
,
True
,
False
,
True
)
# Checks the processes started when starting neither auth nor resolver
# is specified.
...
...
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