diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-03-29 15:55:12 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-13 14:26:24 +0200 |
commit | a60f37dab018ee827aef631f0e1646e720194655 (patch) | |
tree | 78e4185d2a5ed9c58544aad4cd4360c6c6904793 /tests/test_GitRepository.py | |
parent | 8fd5ec31272984a7fcff628c50b4c22d7e4107ec (diff) |
Introduce Source class
so we don't have to expose all the details of Debian's different
files and conventions.
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r-- | tests/test_GitRepository.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index a91ee06..5e11fad 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -13,7 +13,6 @@ This testcase creates several repositores: from . import context -import os import gbp.log gbp.log.setup(color=False, verbose=True) @@ -73,7 +72,7 @@ def test_add_files(): Properties tested: - L{gbp.git.GitRepository.head} - >>> import gbp.git, shutil + >>> import gbp.git, shutil, os >>> repo = gbp.git.GitRepository(repo_dir) >>> shutil.copy(os.path.join(repo.path, ".git/HEAD"), \ os.path.join(repo.path, "testfile")) |