summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_cfg.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/test_cfg.py b/tests/unit/test_cfg.py
index be64d13..e7d58ec 100644
--- a/tests/unit/test_cfg.py
+++ b/tests/unit/test_cfg.py
@@ -595,6 +595,12 @@ class ConfigFileOptsTestCase(BaseTestCase):
def test_conf_file_list_ignore_deprecated(self):
self._do_deprecated_test_ignore(ListOpt, 'd,e,f', ['d', 'e', 'f'])
+ def test_conf_file_list_spaces_use_deprecated(self):
+ self._do_deprecated_test_use(ListOpt, 'a, b, c', ['a', 'b', 'c'])
+
+ def test_conf_file_list_spaces_ignore_deprecated(self):
+ self._do_deprecated_test_ignore(ListOpt, 'd, e, f', ['d', 'e', 'f'])
+
def test_conf_file_multistr_default(self):
self.conf.register_opt(MultiStrOpt('foo', default=['bar']))