summaryrefslogtreecommitdiff
path: root/tests/test_websupport.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-02 13:50:20 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-03 00:31:33 +0900
commita7cab001d9ccb1d93b28f8dc03271f2b28586830 (patch)
treeb4875b979fb49ede7f82a6bdcb020f47528addce /tests/test_websupport.py
parentbc02abcb77143d12c08265c4c10ba9c6cd003832 (diff)
downloadsphinx-git-a7cab001d9ccb1d93b28f8dc03271f2b28586830.tar.gz
Drop APIs deprecated in 2.0
Diffstat (limited to 'tests/test_websupport.py')
-rw-r--r--tests/test_websupport.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/test_websupport.py b/tests/test_websupport.py
deleted file mode 100644
index bf12cbade..000000000
--- a/tests/test_websupport.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
- test_websupport
- ~~~~~~~~~~~~~~~
-
- Test the Web Support Package
-
- :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import pytest
-
-from sphinx.websupport import WebSupport
-try:
- sqlalchemy_missing = False
- import sqlalchemy # NOQA
-except ImportError:
- sqlalchemy_missing = True
-
-
-@pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy')
-def test_build(request, rootdir, sphinx_test_tempdir):
- settings = {
- 'srcdir': rootdir / 'test-basic',
- # to use same directory for 'builddir' in each 'support' fixture, using
- # 'sphinx_test_tempdir' (static) value instead of 'tempdir' fixture value.
- # each test expect result of db value at previous test case.
- 'builddir': sphinx_test_tempdir / 'websupport'
- }
- marker = request.node.get_marker('support')
- if marker:
- settings.update(marker.kwargs)
-
- support = WebSupport(**settings)
- support.build()