From: Avram Lubkin Date: Tue, 4 Oct 2016 11:32:20 +0000 (-0400) Subject: Test creates file in wrong location X-Git-Tag: v1.16.0~137^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F210%2Fhead;p=thirdparty%2Fdnspython.git Test creates file in wrong location test_zone.ZoneTestCase.testToFileFilename fails with OSError: [Errno 2] No such file or directory --- diff --git a/tests/test_zone.py b/tests/test_zone.py index dbc67c77..3c497a63 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: