Fix checking wrong highlighter

This commit is contained in:
Septatrix 2020-03-14 18:49:25 +01:00
parent 81fe5f8477
commit 44fbd39ab2

View File

@ -120,7 +120,7 @@ def test_staticfiles(app, status, warning):
@pytest.mark.sphinx(testroot='theming',
confoverrides={'html_theme': 'test-theme'})
def test_staticfiles(app, status, warning):
style = app.builder.highlighter.formatter_args.get('style')
style = app.builder.dark_highlighter.formatter_args.get('style')
assert style.__name__ == 'MonokaiStyle'
app.build()