mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Optimize tests: test_ifconfig
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user