mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add new builtin theme to test suite.
This commit is contained in:
@@ -24,7 +24,7 @@ def test_theme_api(app):
|
|||||||
|
|
||||||
# test Theme class API
|
# test Theme class API
|
||||||
assert set(Theme.themes.keys()) == \
|
assert set(Theme.themes.keys()) == \
|
||||||
set(['basic', 'default', 'sphinxdoc', 'traditional',
|
set(['basic', 'default', 'scrolls', 'sphinxdoc', 'traditional',
|
||||||
'testtheme', 'ziptheme'])
|
'testtheme', 'ziptheme'])
|
||||||
assert Theme.themes['testtheme'][1] is None
|
assert Theme.themes['testtheme'][1] is None
|
||||||
assert isinstance(Theme.themes['ziptheme'][1], zipfile.ZipFile)
|
assert isinstance(Theme.themes['ziptheme'][1], zipfile.ZipFile)
|
||||||
|
|||||||
Reference in New Issue
Block a user