diff options
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")) |