Steve Piercy
2016-12-11 931cbd9df499dc9c82c30081757a1d315cf89083
one more refactor of config_args to config_vars; bring back 'foo' as an arg
1 files modified
4 ■■■■ changed files
pyramid/tests/test_scripts/test_pserve.py 4 ●●●● patch | view | raw | blame | history
pyramid/tests/test_scripts/test_pserve.py
@@ -38,8 +38,8 @@
    def test_config_args_no_command(self):
        inst = self._makeOne()
        inst.args.config_args = ['a=1', 'b=2']
        result = inst.get_config_args()
        inst.args.config_args = ['foo', 'a=1', 'b=2']
        result = inst.get_config_vars()
        self.assertEqual(result, {'a': '1', 'b': '2'})
    def test_parse_vars_good(self):