summaryrefslogtreecommitdiff
path: root/tests/test_GitVfs.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-04-13 03:02:02 +0200
committerGuido Günther <agx@sigxcpu.org>2013-04-13 14:26:24 +0200
commitd510f2a0c1cf6ca3a2c112e864774a46b2836efb (patch)
tree0e5653873dfc8a3b7e9501b3b12e216e0b0061ab /tests/test_GitVfs.py
parenta60f37dab018ee827aef631f0e1646e720194655 (diff)
Honor debian/source/format
when checking if a package is a native package Closes: #669267
Diffstat (limited to 'tests/test_GitVfs.py')
-rw-r--r--tests/test_GitVfs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_GitVfs.py b/tests/test_GitVfs.py
index 05ff545..dda156d 100644
--- a/tests/test_GitVfs.py
+++ b/tests/test_GitVfs.py
@@ -11,8 +11,8 @@ from . import context
gbp.log.setup(color=False, verbose=True)
import gbp.git
+
def test_read():
- repo_dir = context.new_tmpdir(__name__)
"""
Create a repository
@@ -24,6 +24,7 @@ def test_read():
- L{gbp.git.GitVfs._File.close}
>>> import os, gbp.git.vfs
+ >>> repo_dir = context.new_tmpdir(__name__)
>>> repo = gbp.git.GitRepository.create(str(repo_dir))
>>> f = file(os.path.join(repo.path, 'foo.txt'), 'w')
>>> content = 'al pha\\na\\nb\\nc'