changeset 117:4bb029560721

Fix variable name in testcase
author Bernhard Herzog <bh@intevation.de>
date Wed, 02 Apr 2008 10:49:57 +0000
parents 093514306186
children 9d59ed0e3116
files test/test_packager.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_packager.py	Tue Apr 01 14:54:31 2008 +0000
+++ b/test/test_packager.py	Wed Apr 02 10:49:57 2008 +0000
@@ -340,9 +340,9 @@
                                ("binary", [])])])])
         track = PackageTrack("testtrack", self.trackdir, "", "", "", "", "")
         revpkg = RevisionPackager(track, 704195)
-        srcdir = os.path.join(self.trackdir, "pkg", "704195-1", "binary")
+        bindir = os.path.join(self.trackdir, "pkg", "704195-1", "binary")
         self.assertEquals(revpkg.list_binary_files(),
-                          [os.path.join(srcdir, filename)
+                          [os.path.join(bindir, filename)
                            for filename in ["test_1.0-1_i386.changes",
                                             "test_1.0-1_i386.deb"]])
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)