From 3a96cbc5184688830edf79e4831f729a1bf7aa44 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 14 Feb 2013 11:49:47 -0500 Subject: Drop support for CSV in the CLI client Ticket: https://fedorahosted.org/freeipa/ticket/3352 Design: http://freeipa.org/page/V3/Drop_CSV --- tests/test_ipalib/test_parameters.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'tests/test_ipalib') 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): """ -- cgit