add extension blacklist to avoid error when loading deprecated extensions

This commit is contained in:
Yoshiki Shibukawa
2016-06-02 19:19:46 +09:00
parent f147df3fa0
commit 88bf4373c7
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -70,6 +70,12 @@ def test_extensions(app, status, warning):
assert warning.getvalue().startswith("WARNING: extension 'shutil'")
@with_app()
def test_extension_in_blacklist(app, status, warning):
app.setup_extension('sphinxjp.themecore')
assert warning.getvalue().startswith("WARNING: the extension 'sphinxjp.themecore' was")
@with_app()
def test_domain_override(app, status, warning):
class A(Domain):