[Python-modules-commits] [dnspython] 04/07: Fix file write location in testToFileFilename.

Scott Kitterman kitterman at moszumanska.debian.org
Mon Oct 24 12:09:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

kitterman pushed a commit to branch master
in repository dnspython.

commit 0d1947c117c43af0498ff5563d7acfed903e9bfa
Author: Scott Kitterman <scott at kitterman.com>
Date:   Mon Oct 24 07:52:24 2016 -0400

    Fix file write location in testToFileFilename.
---
 tests/test_zone.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dnspython.git



More information about the Python-modules-commits mailing list