Esempio n. 1
0
def test_serialize_list():
    from webob.descriptors import serialize_list

    result = serialize_list(("avalue", "avalue2"))
    assert result == "avalue, avalue2"
Esempio n. 2
0
def test_serialize_list_unicode():
    from webob.descriptors import serialize_list

    result = serialize_list("avalue")
    assert result == "avalue"
Esempio n. 3
0
def test_serialize_list():
    from webob.descriptors import serialize_list
    result = serialize_list(('avalue', 'avalue2'))
    assert result == 'avalue, avalue2'
Esempio n. 4
0
def test_serialize_list_unicode():
    from webob.descriptors import serialize_list
    result = serialize_list('avalue')
    assert result == 'avalue'
Esempio n. 5
0
def test_serialize_list():
    from webob.descriptors import serialize_list
    result = serialize_list(('avalue', 'avalue2'))
    eq_(result, 'avalue, avalue2')
Esempio n. 6
0
def test_serialize_list_unicode():
    from webob.descriptors import serialize_list
    result = serialize_list('avalue')
    eq_(result, 'avalue')
Esempio n. 7
0
def test_serialize_list_unicode():
    from webob.descriptors import serialize_list
    result = serialize_list(u'avalue')
    eq_(result, u'avalue')
Esempio n. 8
0
def test_serialize_list_string():
    from webob.descriptors import serialize_list
    result = serialize_list('avalue')
    eq_(result, 'avalue')
Esempio n. 9
0
def test_serialize_list():
    from webob.descriptors import serialize_list

    result = serialize_list(("avalue", "avalue2"))
    eq_(result, "avalue, avalue2")
Esempio n. 10
0
def test_serialize_list_string():
    from webob.descriptors import serialize_list
    result = serialize_list('avalue')
    assert result == 'avalue'
Esempio n. 11
0
def test_serialize_list_string():
    from webob.descriptors import serialize_list

    result = serialize_list("avalue")
    assert result == "avalue"