From 931cbd9df499dc9c82c30081757a1d315cf89083 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sun, 11 Dec 2016 00:43:54 -0800 Subject: one more refactor of config_args to config_vars; bring back 'foo' as an arg --- pyramid/tests/test_scripts/test_pserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/tests/test_scripts/test_pserve.py b/pyramid/tests/test_scripts/test_pserve.py index f19985b35..5f6d6ee57 100644 --- a/pyramid/tests/test_scripts/test_pserve.py +++ b/pyramid/tests/test_scripts/test_pserve.py @@ -38,8 +38,8 @@ class TestPServeCommand(unittest.TestCase): 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): -- cgit v1.2.3