Exemple #1
0
def test_safe_encode():
    a = '\xc3\xa9lg'
    out = safe_encode(a)
    yield assert_equal, out.value, a
Exemple #2
0
def test_safe_encode():
    a = '\xc3\xa9lg'
    out = safe_encode(a)
    yield assert_equal, out.value, a
Exemple #3
0
def test_safe_encode():
    a = "\xc3\xa9lg"
    out = safe_encode(a)
    assert out.value == a
Exemple #4
0
def test_safe_encode():
    a = '\xc3\xa9lg'
    out = safe_encode(a)
    assert out.value == a