mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix test, adding the new theme.
This commit is contained in:
parent
fc3113d847
commit
46a8290b95
@ -25,7 +25,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', 'scrolls', 'agogo', 'sphinxdoc',
|
set(['basic', 'default', 'scrolls', 'agogo', 'sphinxdoc',
|
||||||
'traditional', 'testtheme', 'ziptheme', 'epub'])
|
'traditional', 'testtheme', 'ziptheme', 'epub', 'nature'])
|
||||||
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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user