def test_check_type_name_not_ok(self): with pytest.raises(TypeError): sparam.ListField( name=1, weight=1, value=[], )
def test_check_type_value_ok(self): sparam.ListField( name='a', weight=1, value=[], )