summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-02-14 11:49:47 -0500
committerMartin Kosek <mkosek@redhat.com>2013-02-22 17:20:35 +0100
commit3a96cbc5184688830edf79e4831f729a1bf7aa44 (patch)
tree7374fd13c7b7fee9bac141a5f36118cc1826fca4 /tests/test_ipalib
parentb4915bd2fde861279ba18acf940d7a5880a58ba6 (diff)
downloadfreeipa-3a96cbc5184688830edf79e4831f729a1bf7aa44.tar.gz
freeipa-3a96cbc5184688830edf79e4831f729a1bf7aa44.tar.xz
freeipa-3a96cbc5184688830edf79e4831f729a1bf7aa44.zip
Drop support for CSV in the CLI client
Ticket: https://fedorahosted.org/freeipa/ticket/3352 Design: http://freeipa.org/page/V3/Drop_CSV
Diffstat (limited to 'tests/test_ipalib')
-rw-r--r--tests/test_ipalib/test_parameters.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/test_ipalib/test_parameters.py b/tests/test_ipalib/test_parameters.py
index 47c5de1fc..192db3da7 100644
--- a/tests/test_ipalib/test_parameters.py
+++ b/tests/test_ipalib/test_parameters.py
@@ -616,23 +616,6 @@ class test_Param(ClassChecker):
assert o._convert_scalar.value is default
assert o.normalizer.value is default
- def test_split_csv(self):
- """
- Test the `ipalib.parameters.Param.split_csv` method with csv.
- """
- o = self.cls('my_list+', csv=True)
- n = o.split_csv('a,b')
- assert type(n) is tuple
- assert len(n) is 2
-
- n = o.split_csv('bar, "hi, there",foo')
- assert type(n) is tuple
- assert len(n) is 3
-
- e = raises(ValidationError, o.split_csv, '"a')
- assert e.name == 'my_list'
- assert e.error == u'Improperly formatted CSV value (newline inside string)'
-
class test_Flag(ClassChecker):
"""