summaryrefslogtreecommitdiff
path: root/test/git/test_config.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-12-17 12:20:37 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-12-17 12:20:37 +0100
commitdcf2c3bd2aaf76e2b6e0cc92f838688712ebda6c (patch)
treee6572a1df772872075911a55ecdca8b6519a10c5 /test/git/test_config.py
parenta38a0053d31d0285dd1e6ebe6efc28726a9656cc (diff)
downloadgitpython-dcf2c3bd2aaf76e2b6e0cc92f838688712ebda6c.tar.gz
config: GitConfigReader now allows to override its lock-type. By default it uses a 'failing' lock file, but now its possible to easily put a blocking lock file in its place
Diffstat (limited to 'test/git/test_config.py')
-rw-r--r--test/git/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_config.py b/test/git/test_config.py
index 407eb9bd..f51a4757 100644
--- a/test/git/test_config.py
+++ b/test/git/test_config.py
@@ -38,7 +38,7 @@ class TestBase(TestCase):
self.failUnlessRaises(IOError, GitConfigParser, file_obj, read_only = False)
# should still have a lock and be able to make changes
- assert w_config._has_lock()
+ assert w_config._lock._has_lock()
# changes should be written right away
sname = "my_section"