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
8b36f92a
Commit
8b36f92a
authored
Oct 30, 2012
by
Jelte Jansen
Browse files
[master] fix HOME error in bindctl_test
discussed on jabber
parent
fd51de64
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bindctl/tests/bindctl_test.py
View file @
8b36f92a
...
...
@@ -511,10 +511,7 @@ class TestBindCmdInterpreter(unittest.TestCase):
def
test_csv_file_dir
(
self
):
# Checking default value
if
"HOME"
in
os
.
environ
:
home_dir
=
os
.
environ
[
"HOME"
]
else
:
home_dir
=
pwd
.
getpwnam
(
getpass
.
getuser
()).
pw_dir
home_dir
=
pwd
.
getpwnam
(
getpass
.
getuser
()).
pw_dir
self
.
assertEqual
(
home_dir
+
os
.
sep
+
'.bind10'
+
os
.
sep
,
bindcmd
.
BindCmdInterpreter
().
csv_file_dir
)
...
...
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