aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-02 16:56:06 +0200
committerGuido Günther <agx@sigxcpu.org>2014-04-02 16:56:06 +0200
commita05f859d051f06ca8e3f78d35870d80eae28ded4 (patch)
treef3b6869bac14219dcf29470d3f1e13ad420cd59c
parenta8cfd885b0133a09c023452e43303ca9003b1d25 (diff)
Remove tests now covered by 18_test_Config
-rw-r--r--tests/test_Config.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/test_Config.py b/tests/test_Config.py
index cfdefd8b..046af278 100644
--- a/tests/test_Config.py
+++ b/tests/test_Config.py
@@ -60,27 +60,6 @@ def test_tristate():
auto
"""
-def test_parser_fallback():
- """
- Make sure we also parse git-<subcommands> sections if
- gbp <subcommand> was used.
-
- >>> import os
- >>> from gbp.config import GbpOptionParser
- >>> parser = GbpOptionParser('foo')
- >>> tmpdir = str(context.new_tmpdir('foo'))
- >>> confname = os.path.join(tmpdir, 'gbp.conf')
- >>> parser.config_files = [confname]
- >>> f = open(confname, 'w')
- >>> f.write('[DEFAULT]\\nthere = was\\n[foo]\\nthere = is\\n[git-foo]\\nno = truth\\n')
- >>> f.close()
- >>> parser.parse_config_files()
- >>> parser.config['there']
- 'is'
- >>> parser.config['no']
- 'truth'
- """
-
def test_filter():
"""
The filter option should always parse as a list