Пример #1
0
def test_replacestrings():
    """Test the _replacestring function"""
    assert csv2po.replacestrings("Test one two three", ("one", "een"),
                                 ("two", "twee")) == "Test een twee three"
Пример #2
0
def test_replacestrings():
    """Test the _replacestring function"""
    assert csv2po.replacestrings("Test one two three",
                                 ("one", "een"),
                                 ("two", "twee")) == "Test een twee three"