Mercurial > treepkg
comparison test/test_packager.py @ 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 | 34e08d52956e |
comparison
equal
deleted
inserted
replaced
116:093514306186 | 117:4bb029560721 |
---|---|
338 [("status", ""), | 338 [("status", ""), |
339 ("src", []), | 339 ("src", []), |
340 ("binary", [])])])]) | 340 ("binary", [])])])]) |
341 track = PackageTrack("testtrack", self.trackdir, "", "", "", "", "") | 341 track = PackageTrack("testtrack", self.trackdir, "", "", "", "", "") |
342 revpkg = RevisionPackager(track, 704195) | 342 revpkg = RevisionPackager(track, 704195) |
343 srcdir = os.path.join(self.trackdir, "pkg", "704195-1", "binary") | 343 bindir = os.path.join(self.trackdir, "pkg", "704195-1", "binary") |
344 self.assertEquals(revpkg.list_binary_files(), | 344 self.assertEquals(revpkg.list_binary_files(), |
345 [os.path.join(srcdir, filename) | 345 [os.path.join(bindir, filename) |
346 for filename in ["test_1.0-1_i386.changes", | 346 for filename in ["test_1.0-1_i386.changes", |
347 "test_1.0-1_i386.deb"]]) | 347 "test_1.0-1_i386.deb"]]) |
348 | 348 |
349 | 349 |
350 class TestImportPackagerModule(unittest.TestCase, FileTestMixin): | 350 class TestImportPackagerModule(unittest.TestCase, FileTestMixin): |