This commit is contained in:
U-FAREAST\fseide 2016-09-21 11:55:41 -07:00
Родитель 90e5283c9b
Коммит 2409bc774b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -103,7 +103,7 @@ def test_simpleSanityCheck():
input = StringIO.StringIO("hello my\tclear about\nworld of\tit let clear\n")
output = StringIO.StringIO()
convert([dictionary1, dictionary2], [input], output, False)
convert([dictionary1, dictionary2], [input], output, None, False)
expectedOutput = StringIO.StringIO()
expectedOutput.write("0\t|S0 0:1\t|S1 3:1\n")
@ -120,5 +120,5 @@ def test_nonExistingWord():
output = StringIO.StringIO()
with pytest.raises(Exception) as info:
convert([dictionary1], [input], output, False)
convert([dictionary1], [input], output, None, False)
assert info.value.message == "Token 'nonexistent' cannot be found in the dictionary for stream 0"