Fix test_env.

This commit is contained in:
Georg Brandl
2009-03-16 12:07:23 +01:00
parent 5ea87fd6c4
commit 03c95bbc6e

View File

@@ -80,7 +80,7 @@ def test_second_update():
(root / 'autodoc.txt').unlink()
(root / 'new.txt').write_text('New file\n========\n')
msg, num, it = env.update(app.config, app.srcdir, app.doctreedir, app)
assert '1 added, 3 changed, 1 removed' in msg
assert '1 added, 4 changed, 1 removed' in msg
docnames = set()
for docname in it:
docnames.add(docname)