Steve Piercy
2016-12-11 2b7d128b9c5f1587f22c651ae44f71c331b22827
one more refactor of config_args to config_vars
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
@@ -36,9 +36,9 @@
        self.assertEqual(result, 2)
        self.assertEqual(self.out_.getvalue(), 'You must give a config file')
    def test_config_args_no_command(self):
    def test_config_vars_no_command(self):
        inst = self._makeOne()
        inst.args.config_args = ['foo', 'a=1', 'b=2']
        inst.args.config_vars = ['foo', 'a=1', 'b=2']
        result = inst.get_config_vars()
        self.assertEqual(result, {'a': '1', 'b': '2'})