From a617bc3ef4a1ea22bbe1eba2f83936d4c5dbbf66 Mon Sep 17 00:00:00 2001 From: Oliver Caldwell Date: Mon, 1 Feb 2016 21:41:14 +0000 Subject: [PATCH] Add missing commas I haven't written Python in quite a long time :| --- tests/unit/config/test_configtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/config/test_configtypes.py b/tests/unit/config/test_configtypes.py index 3996e03b5..3cdde6b95 100644 --- a/tests/unit/config/test_configtypes.py +++ b/tests/unit/config/test_configtypes.py @@ -1581,7 +1581,7 @@ class TestShellCommand: ({}, 'foobar'), ({'placeholder': '{}'}, 'foo {} bar'), ({'placeholder': '{}'}, 'foo{}bar'), - ({'placeholder': '{}'}, 'foo "bar {}"') + ({'placeholder': '{}'}, 'foo "bar {}"'), ]) def test_validate_valid(self, klass, kwargs, val): klass(**kwargs).validate(val) @@ -1589,7 +1589,7 @@ class TestShellCommand: @pytest.mark.parametrize('kwargs, val', [ ({}, ''), ({'placeholder': '{}'}, 'foo bar'), - ({'placeholder': '{}'}, 'foo { } bar') + ({'placeholder': '{}'}, 'foo { } bar'), ({}, 'foo"'), # not splittable with shlex ]) def test_validate_invalid(self, klass, kwargs, val):