Mercurial > treepkg
changeset 539:94ff51f691a2
bugfix: revsions are strings now due to git short revision
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Tue, 11 Jan 2011 15:52:40 +0000 |
parents | 6fb5e8b74414 |
children | f7613aaa6a4e |
files | test/test_packager.py |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_packager.py Mon Jan 10 14:58:51 2011 +0000 +++ b/test/test_packager.py Tue Jan 11 15:52:40 2011 +0000 @@ -287,7 +287,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -315,7 +315,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -341,7 +341,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -365,7 +365,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -399,7 +399,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -431,7 +431,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -463,7 +463,7 @@ )] ) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 0) + revpkg = RevisionPackager(track, "704195", 0) srcpkg = SourcePackager(revpkg) pkgbasedir = trackdir @@ -490,7 +490,7 @@ ("src", []), ("binary", [])])])]) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 31) + revpkg = RevisionPackager(track, "704195", 31) srcdir = os.path.join(trackdir, "pkg", "704195-31", "src") self.assertEquals(revpkg.list_source_files(), [os.path.join(srcdir, filename) @@ -516,7 +516,7 @@ ("src", []), ("binary", [])])])]) track = PackageTrack("testtrack", trackdir, "", "", "", "", "") - revpkg = RevisionPackager(track, 704195, 1) + revpkg = RevisionPackager(track, "704195", 1) bindir = os.path.join(trackdir, "pkg", "704195-1", "binary") self.assertEquals(revpkg.list_binary_files(), [os.path.join(bindir, filename)