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_GitVfs.py | |
parent | 8fd5ec31272984a7fcff628c50b4c22d7e4107ec (diff) | |
download | git-buildpackage-a60f37dab018ee827aef631f0e1646e720194655.tar.gz git-buildpackage-a60f37dab018ee827aef631f0e1646e720194655.tar.bz2 git-buildpackage-a60f37dab018ee827aef631f0e1646e720194655.zip |
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_GitVfs.py')
-rw-r--r-- | tests/test_GitVfs.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_GitVfs.py b/tests/test_GitVfs.py index c4e26940..05ff5456 100644 --- a/tests/test_GitVfs.py +++ b/tests/test_GitVfs.py @@ -4,12 +4,12 @@ Test L{gbp.git.GitVfs} """ -import os import gbp.log from . import context gbp.log.setup(color=False, verbose=True) +import gbp.git def test_read(): repo_dir = context.new_tmpdir(__name__) @@ -18,10 +18,10 @@ def test_read(): Methods tested: - L{gbp.git.GitVfs.open} - - L{gbp.git._File.readline} - - L{gbp.git._File.readlines} - - L{gbp.git._File.read} - - L{gbp.git._File.close} + - L{gbp.git.GitVfs._File.readline} + - L{gbp.git.GitVfs._File.readlines} + - L{gbp.git.GitVfs._File.read} + - L{gbp.git.GitVfs._File.close} >>> import os, gbp.git.vfs >>> repo = gbp.git.GitRepository.create(str(repo_dir)) |