Optimize tests: test_ifconfig

This commit is contained in:
Takeshi KOMIYA
2016-07-14 09:16:51 +09:00
parent f66208e939
commit b035094067

View File

@@ -12,6 +12,9 @@
from util import with_app
@with_app(testroot='ext-ifconfig')
@with_app(buildername='text', testroot='ext-ifconfig')
def test_ifconfig(app, status, warning):
app.builder.build_all()
result = (app.outdir / 'index.txt').text()
assert 'spam' in result
assert 'ham' not in result