예제 #1
0
def test_serialize_list():
    from webob.descriptors import serialize_list

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

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

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

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