From dcf2c3bd2aaf76e2b6e0cc92f838688712ebda6c Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 17 Dec 2009 12:20:37 +0100 Subject: 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 --- test/git/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_config.py') 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" -- cgit v1.2.3