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):