Exemplo n.º 1
0
def test_strip_tags_zaps_comments():
    assert_equal(strip_tags('a<!--b-->'), 'ab')
Exemplo n.º 2
0
def test_strip_tags_empty():
    assert_equal(strip_tags(''), '')
Exemplo n.º 3
0
def test_strip_tags_zaps_carriage_return():
    assert_equal(strip_tags('a\rb'), 'ab')
Exemplo n.º 4
0
def test_strip_tags_zaps_carriage_return():
    assert webob_exc.strip_tags('a\rb') == 'ab'
Exemplo n.º 5
0
def test_strip_tags_zaps_comments():
    assert webob_exc.strip_tags('a<!--b-->') == 'ab'
Exemplo n.º 6
0
def test_strip_tags_zaps_comments():
    assert webob_exc.strip_tags("a<!--b-->") == "ab"
Exemplo n.º 7
0
def test_strip_tags_empty():
    assert webob_exc.strip_tags('') == ''
Exemplo n.º 8
0
def test_strip_tags_newline_to_space():
    assert webob_exc.strip_tags("a\nb") == "a b"
Exemplo n.º 9
0
def test_strip_tags_zaps_carriage_return():
    assert webob_exc.strip_tags("a\rb") == "ab"
Exemplo n.º 10
0
def test_strip_tags_br_to_newline():
    assert_equal(strip_tags("a<br/>b"), "a\nb")
Exemplo n.º 11
0
def test_strip_tags_empty():
    assert webob_exc.strip_tags("") == ""
Exemplo n.º 12
0
def test_strip_tags_zaps_carriage_return():
    assert_equal(strip_tags("a\rb"), "ab")
Exemplo n.º 13
0
def test_strip_tags_newline_to_space():
    assert_equal(strip_tags("a\nb"), "a b")
Exemplo n.º 14
0
def test_strip_tags_empty():
    assert_equal(strip_tags(""), "")
Exemplo n.º 15
0
def test_strip_tags_empty():
    assert webob_exc.strip_tags("") == ""
Exemplo n.º 16
0
def test_strip_tags_br_to_newline():
    assert webob_exc.strip_tags("a<br/>b") == "a\nb"
Exemplo n.º 17
0
def test_strip_tags_zaps_carriage_return():
    assert webob_exc.strip_tags("a\rb") == "ab"
Exemplo n.º 18
0
def test_strip_tags_zaps_comments():
    assert webob_exc.strip_tags("a<!--b-->") == "ab"
Exemplo n.º 19
0
def test_strip_tags_zaps_tags():
    assert_equal(strip_tags("foo<bar>baz</bar>"), "foobaz")
Exemplo n.º 20
0
def test_strip_tags_zaps_tags():
    assert webob_exc.strip_tags("foo<bar>baz</bar>") == "foobaz"
Exemplo n.º 21
0
def test_strip_tags_newline_to_space():
    assert webob_exc.strip_tags('a\nb') == 'a b'
Exemplo n.º 22
0
def test_strip_tags_empty():
    assert webob_exc.strip_tags('') == ''
Exemplo n.º 23
0
def test_strip_tags_br_to_newline():
    assert webob_exc.strip_tags('a<br/>b') == 'a\nb'
Exemplo n.º 24
0
def test_strip_tags_newline_to_space():
    assert webob_exc.strip_tags('a\nb') == 'a b'
Exemplo n.º 25
0
def test_strip_tags_zaps_tags():
    assert webob_exc.strip_tags('foo<bar>baz</bar>') == 'foobaz'
Exemplo n.º 26
0
def test_strip_tags_zaps_carriage_return():
    assert webob_exc.strip_tags('a\rb') == 'ab'
Exemplo n.º 27
0
def test_strip_tags_newline_to_space():
    assert_equal(strip_tags('a\nb'), 'a b')
Exemplo n.º 28
0
def test_strip_tags_br_to_newline():
    assert webob_exc.strip_tags('a<br/>b') == 'a\nb'
Exemplo n.º 29
0
def test_strip_tags_br_to_newline():
    assert_equal(strip_tags('a<br/>b'), 'a\nb')
Exemplo n.º 30
0
def test_strip_tags_zaps_comments():
    assert webob_exc.strip_tags('a<!--b-->') == 'ab'
Exemplo n.º 31
0
def test_strip_tags_zaps_tags():
    assert_equal(strip_tags('foo<bar>baz</bar>'), 'foobaz')
Exemplo n.º 32
0
def test_strip_tags_zaps_tags():
    assert webob_exc.strip_tags('foo<bar>baz</bar>') == 'foobaz'
Exemplo n.º 33
0
def test_strip_tags_newline_to_space():
    assert webob_exc.strip_tags("a\nb") == "a b"
Exemplo n.º 34
0
def test_strip_tags_empty():
    assert_equal(webob_exc.strip_tags(''), '')
Exemplo n.º 35
0
def test_strip_tags_br_to_newline():
    assert webob_exc.strip_tags("a<br/>b") == "a\nb"
Exemplo n.º 36
0
def test_strip_tags_empty():
    assert_equal(webob_exc.strip_tags(''), '')
Exemplo n.º 37
0
def test_strip_tags_zaps_tags():
    assert webob_exc.strip_tags("foo<bar>baz</bar>") == "foobaz"
Exemplo n.º 38
0
def test_strip_tags_zaps_comments():
    assert_equal(strip_tags("a<!--b-->"), "ab")