summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-12-11 00:43:54 -0800
committerSteve Piercy <web@stevepiercy.com>2016-12-13 17:40:19 -0800
commit931cbd9df499dc9c82c30081757a1d315cf89083 (patch)
treec3e2623677051b408b7a769bac9e33832a838b78
parentaa1ce33153eaa0c44ddfe5e0be173cbbd915c477 (diff)
downloadpyramid-931cbd9df499dc9c82c30081757a1d315cf89083.tar.gz
pyramid-931cbd9df499dc9c82c30081757a1d315cf89083.tar.bz2
pyramid-931cbd9df499dc9c82c30081757a1d315cf89083.zip
one more refactor of config_args to config_vars; bring back 'foo' as an arg
-rw-r--r--pyramid/tests/test_scripts/test_pserve.py4
1 files 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):