mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Do proper cleanup of generated files.
This commit is contained in:
parent
32800b1762
commit
ef98b65f29
@ -26,6 +26,7 @@ def setup_module():
|
||||
|
||||
def teardown_module():
|
||||
app.cleanup()
|
||||
(test_root / 'generated').rmtree()
|
||||
|
||||
def warning_emitted(file, text):
|
||||
for warning in warnings:
|
||||
|
@ -11,6 +11,10 @@
|
||||
|
||||
from util import *
|
||||
|
||||
def teardown_module():
|
||||
(test_root / '_build').rmtree()
|
||||
(test_root / 'generated').rmtree()
|
||||
|
||||
|
||||
@with_app(confoverrides={'language': 'de'})
|
||||
def test_i18n(app):
|
||||
|
@ -16,6 +16,10 @@ from util import *
|
||||
|
||||
from sphinx.theming import Theme, ThemeError
|
||||
|
||||
def teardown_module():
|
||||
(test_root / '_build').rmtree()
|
||||
(test_root / 'generated').rmtree()
|
||||
|
||||
|
||||
@with_app(confoverrides={'html_theme': 'ziptheme',
|
||||
'html_theme_options.testopt': 'foo'})
|
||||
|
Loading…
Reference in New Issue
Block a user