From: Guido Günther Date: Wed, 2 Apr 2014 14:56:06 +0000 (+0200) Subject: Remove tests now covered by 18_test_Config X-Git-Tag: debian/0.6.13~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a05f859d051f06ca8e3f78d35870d80eae28ded4;p=tools%2Fgit-buildpackage.git Remove tests now covered by 18_test_Config --- 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- sections if - gbp 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