Fix test which was broken to change in the path object api

This commit is contained in:
Daniel Neuhäuser 2010-08-15 12:16:48 +02:00
parent 45285b6785
commit 817a7bb2c8

View File

@ -78,7 +78,7 @@ def test_all(app):
confoverrides={'language': 'xx', 'locale_dirs': ['.']}) confoverrides={'language': 'xx', 'locale_dirs': ['.']})
def test_patch(app): def test_patch(app):
app.builder.build(['bom']) app.builder.build(['bom'])
result = (app.outdir / 'bom.txt').text('utf-8') result = (app.outdir / 'bom.txt').text(encoding='utf-8')
expect = (u"\nDatei mit UTF-8" expect = (u"\nDatei mit UTF-8"
u"\n***************\n" # underline matches new translation u"\n***************\n" # underline matches new translation
u"\nThis file has umlauts: äöü.\n") u"\nThis file has umlauts: äöü.\n")