def test_strip_controls():
    # We want control codes like \x0c to disappear.
    assert 'I ove you' == helpers.strip_controls('I \x0cove you')
def test_strip_controls():
    # We want control codes like \x0c to disappear.
    eq_('I ove you', helpers.strip_controls('I \x0cove you'))
Exemple #3
0
def test_strip_controls():
    # We want control codes like \x0c to disappear.
    eq_('I ove you', helpers.strip_controls('I \x0cove you'))
Exemple #4
0
def test_strip_controls():
    # We want control codes like \x0c to disappear.
    assert 'I ove you' == helpers.strip_controls('I \x0cove you')