summaryrefslogtreecommitdiff
path: root/tests/test_GitVfs.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-03-29 15:55:12 +0100
committerGuido Günther <agx@sigxcpu.org>2013-04-13 14:26:24 +0200
commita60f37dab018ee827aef631f0e1646e720194655 (patch)
tree78e4185d2a5ed9c58544aad4cd4360c6c6904793 /tests/test_GitVfs.py
parent8fd5ec31272984a7fcff628c50b4c22d7e4107ec (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_GitVfs.py')
-rw-r--r--tests/test_GitVfs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_GitVfs.py b/tests/test_GitVfs.py
index c4e2694..05ff545 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))