diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-12-09 21:38:12 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-12-09 21:38:12 +0100 |
commit | a97d21936200f1221d8ddd89202042faed1b9bcb (patch) | |
tree | d545db205d0bd731fc16d19663f7028dabe0f57d /test/git/test_remote.py | |
parent | 35057c56ce118e4cbd0584bd4690e765317b4c38 (diff) | |
download | gitpython-a97d21936200f1221d8ddd89202042faed1b9bcb.tar.gz |
config: fixed incorrect handling of default value in get_value
remote.config: SectionConstraint now knows about set_value and get_value which are new to the GitConfigParser
Diffstat (limited to 'test/git/test_remote.py')
-rw-r--r-- | test/git/test_remote.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/git/test_remote.py b/test/git/test_remote.py index edbf758c..a9ca8331 100644 --- a/test/git/test_remote.py +++ b/test/git/test_remote.py @@ -358,6 +358,7 @@ class TestRemote(TestBase): val = getattr(remote, opt) reader = remote.config_reader assert reader.get(opt) == val + assert reader.get_value(opt, None) == val # unable to write with a reader self.failUnlessRaises(IOError, reader.set, opt, "test") |