Exemplo n.º 1
0
def test_sanitize():
    assert sanitize([]) == []
    assert sanitize([r'/foo/bar/', r'/']) == [u('/foo/bar'), u('/')]
Exemplo n.º 2
0
 def test_sanitize(self):
     assert_equal(sanitize([]), [])
     assert_equal(sanitize([r'/foo/bar/', r'/']), [u'/foo/bar', u'/'])
Exemplo n.º 3
0
def test_sanitize():
    assert sanitize([]) == []
    assert sanitize([r'/foo/bar/', r'/']) == [u('/foo/bar'), u('/')]