@@ -146,40 +146,41 @@ def test_string_param_equality(self):
146
146
is False ), "Failure, equality check returned False"
147
147
148
148
149
- class TestListParams :
150
- """ListParam unit tests."""
151
-
152
- def test_list_param_value (self ):
153
- """Testing if list param correctly returns list values."""
154
- environ ["LIST_VALUE_TEST1" ] = "item1,item2"
155
- assert params .ListParam ("LIST_VALUE_TEST1" ).value == ["item1" ,"item2" ], \
156
- 'Failure, params value != ["item1","item2"]'
157
-
158
- def test_list_param_filter_empty_strings (self ):
159
- """Testing if list param correctly returns list values wth empty strings excluded."""
160
- environ ["LIST_VALUE_TEST2" ] = ",,item1,item2,,,item3,"
161
- assert params .ListParam ("LIST_VALUE_TEST2" ).value == ["item1" ,"item2" , "item3" ], \
162
- 'Failure, params value != ["item1","item2", "item3"]'
163
-
164
- def test_list_param_empty_default (self ):
165
- """Testing if list param defaults to an empty list if no value and no default."""
166
- assert params .ListParam ("LIST_DEFAULT_TEST1" ).value == [], \
167
- "Failure, params value is not an empty list"
168
-
169
- def test_list_param_default (self ):
170
- """Testing if list param defaults to the provided default value."""
171
- assert (params .ListParam ("LIST_DEFAULT_TEST2" , default = ["1" , "2" ]).value
172
- == ["1" , "2" ]), \
173
- 'Failure, params default value != ["1", "2"]'
174
-
175
- def test_list_param_equality (self ):
176
- """Test list equality."""
177
- assert (params .ListParam ("LIST_TEST1" ,
178
- default = ["123" ]).equals (["123" ]).value
179
- is True ), "Failure, equality check returned False"
180
- assert (params .ListParam ("LIST_TEST2" ,
181
- default = ["456" ]).equals (["123" ]).value
182
- is False ), "Failure, equality check returned False"
149
+ # List params are currently not supported.
150
+ # class TestListParams:
151
+ # """ListParam unit tests."""
152
+
153
+ # def test_list_param_value(self):
154
+ # """Testing if list param correctly returns list values."""
155
+ # environ["LIST_VALUE_TEST1"] = "item1,item2"
156
+ # assert params.ListParam("LIST_VALUE_TEST1").value == ["item1","item2"], \
157
+ # 'Failure, params value != ["item1","item2"]'
158
+
159
+ # def test_list_param_filter_empty_strings(self):
160
+ # """Testing if list param correctly returns list values wth empty strings excluded."""
161
+ # environ["LIST_VALUE_TEST2"] = ",,item1,item2,,,item3,"
162
+ # assert params.ListParam("LIST_VALUE_TEST2").value == ["item1","item2", "item3"], \
163
+ # 'Failure, params value != ["item1","item2", "item3"]'
164
+
165
+ # def test_list_param_empty_default(self):
166
+ # """Testing if list param defaults to an empty list if no value and no default."""
167
+ # assert params.ListParam("LIST_DEFAULT_TEST1").value == [], \
168
+ # "Failure, params value is not an empty list"
169
+
170
+ # def test_list_param_default(self):
171
+ # """Testing if list param defaults to the provided default value."""
172
+ # assert (params.ListParam("LIST_DEFAULT_TEST2", default=["1", "2"]).value
173
+ # == ["1", "2"]), \
174
+ # 'Failure, params default value != ["1", "2"]'
175
+
176
+ # def test_list_param_equality(self):
177
+ # """Test list equality."""
178
+ # assert (params.ListParam("LIST_TEST1",
179
+ # default=["123"]).equals(["123"]).value
180
+ # is True), "Failure, equality check returned False"
181
+ # assert (params.ListParam("LIST_TEST2",
182
+ # default=["456"]).equals(["123"]).value
183
+ # is False), "Failure, equality check returned False"
183
184
184
185
185
186
class TestParamsManifest :
0 commit comments