From a60f37dab018ee827aef631f0e1646e720194655 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 29 Mar 2013 15:55:12 +0100 Subject: Introduce Source class so we don't have to expose all the details of Debian's different files and conventions. --- tests/test_GitVfs.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/test_GitVfs.py') 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)) -- cgit v1.2.3