[Treepkg-commits] r502 - trunk/test
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 11 16:52:40 CET 2011
Author: bricks
Date: 2011-01-11 16:52:40 +0100 (Tue, 11 Jan 2011)
New Revision: 502
Modified:
trunk/test/test_packager.py
Log:
bugfix: revsions are strings now due to git short revision
Modified: trunk/test/test_packager.py
===================================================================
--- trunk/test/test_packager.py 2011-01-10 14:58:51 UTC (rev 501)
+++ trunk/test/test_packager.py 2011-01-11 15:52:40 UTC (rev 502)
@@ -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)
More information about the Treepkg-commits
mailing list