diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-02-08 14:54:59 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-06-30 09:02:43 +0200 |
commit | cc1ebfd18013c6086881665de55b5ce937aa534e (patch) | |
tree | c07c412c0ec7833aecab6235eb69a564d77250fb /tests | |
parent | e9d239bb02b0e7bea06c01fb3572330620658209 (diff) |
PristineTar: move Debian-specific stuff to DebianPristineTar
Continuation to the PristineTar refactoring, makes the "common"
PristineTar independent of DebianPkgPolicy. This commit moves the
Debian-specific has_commit() and checkout() methods to DebianPristineTar
class and replaces them with more generic functions in the base class.
Also, drops the Debian-specific get_commit() method completely, as it
was not used outside the PristineTar class itself.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_PristineTar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py index 8a64524..f1c6411 100644 --- a/tests/test_PristineTar.py +++ b/tests/test_PristineTar.py @@ -104,7 +104,7 @@ def test_pristine_has_commit(): >>> repo.pristine_tar.has_commit('upstream', '1.0') True >>> branch = repo.rev_parse('pristine-tar') - >>> commit = repo.pristine_tar.get_commit('upstream', '1.0') + >>> commit = repo.pristine_tar.get_commit('upstream_1.0.orig.tar.gz') >>> branch == commit True """ |