Spaces:
Runtime error
Runtime error
File size: 677 Bytes
48f5500 c01e8a6 48f5500 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from app import sanitize
def test_sanitize():
assert '' == sanitize('')
assert '' == sanitize('((a)')
assert '(' == sanitize('(')
assert 'qwertyui' == sanitize('qwertyui')
assert 'qwertyui ' == sanitize('qwertyui (abcdef)')
assert 'qwertyui poiuy' == sanitize('qwertyui (abcdef) poiuy')
assert '"Teacher, I heard about a fascinating story from someone who lives in the city. Can you guess who it might be?" ' == sanitize('"Teacher, I heard about a fascinating story from someone who lives in the city. Can you guess who it might be?" (I want to find out if the Teacher can make any connections between my statement and their own information.)')
|