mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Test suite fix for new theme.
This commit is contained in:
parent
dd6984b7a9
commit
7616639622
@ -25,7 +25,8 @@ 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', 'haiku',
|
set(['basic', 'default', 'scrolls', 'agogo', 'sphinxdoc', 'haiku',
|
||||||
'traditional', 'testtheme', 'ziptheme', 'epub', 'nature'])
|
'traditional', 'testtheme', 'ziptheme', 'epub', 'nature',
|
||||||
|
'pyramid'])
|
||||||
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