summaryrefslogtreecommitdiff
path: root/test/git/test_remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-12-09 21:38:12 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-12-09 21:38:12 +0100
commita97d21936200f1221d8ddd89202042faed1b9bcb (patch)
treed545db205d0bd731fc16d19663f7028dabe0f57d /test/git/test_remote.py
parent35057c56ce118e4cbd0584bd4690e765317b4c38 (diff)
downloadgitpython-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.py1
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")