summaryrefslogtreecommitdiff
path: root/tests/test_zone.py
diff options
context:
space:
mode:
authorAvram Lubkin <git_hub@avram.us>2016-10-04 07:32:20 -0400
committerGitHub <noreply@github.com>2016-10-04 07:32:20 -0400
commit0add1649c91b4f56b32e73c3a6327519c6eb532e (patch)
tree5c7e552594f2359c709848cc1e3bde8d4d4c7f46 /tests/test_zone.py
parentbe5a1b003a432f9dfb3a06489a17f1876bbb9363 (diff)
downloaddnspython-0add1649c91b4f56b32e73c3a6327519c6eb532e.tar.gz
Test creates file in wrong location
test_zone.ZoneTestCase.testToFileFilename fails with OSError: [Errno 2] No such file or directory
Diffstat (limited to 'tests/test_zone.py')
-rw-r--r--tests/test_zone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_zone.py b/tests/test_zone.py
index dbc67c7..3c497a6 100644
--- a/tests/test_zone.py
+++ b/tests/test_zone.py
@@ -177,7 +177,7 @@ class ZoneTestCase(unittest.TestCase):
def testToFileFilename(self):
z = dns.zone.from_file(here('example'), 'example')
try:
- z.to_file('example3-filename.out')
+ z.to_file(here('example3-filename.out'))
ok = filecmp.cmp(here('example3-filename.out'),
here('example3.good'))
finally: