Remove tests now covered by 18_test_Config
authorGuido Günther <agx@sigxcpu.org>
Wed, 2 Apr 2014 14:56:06 +0000 (16:56 +0200)
committerGuido Günther <agx@sigxcpu.org>
Wed, 2 Apr 2014 14:56:06 +0000 (16:56 +0200)
tests/test_Config.py

index cfdefd8..046af27 100644 (file)
@@ -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