Fixed tests

pull/164/head
Ashley Whetter 5 years ago
parent 3b299be332
commit b5d83f8472

@ -68,7 +68,7 @@ class TestSimpleModule(object):
with io.open(index_path, encoding="utf8") as index_handle:
index_file = index_handle.read()
assert "Sphinx AutoAPI Index" in index_file
assert "API Reference" in index_file
assert "Foo" in index_file
assert "Meta" in index_file
@ -128,7 +128,7 @@ class TestSimplePackage(object):
with io.open(index_path, encoding="utf8") as index_handle:
index_file = index_handle.read()
assert "Sphinx AutoAPI Index" in index_file
assert "API Reference" in index_file
assert "example.foo" in index_file
assert "Foo" in index_file
assert "module_level_method" in index_file

@ -101,7 +101,7 @@ class IntegrationTests(LanguageIntegrationTests):
class TOCTreeTests(LanguageIntegrationTests):
def test_toctree_overrides(self):
self._run_test("toctreeexample", "_build/text/index.txt", "AutoAPI Index")
self._run_test("toctreeexample", "_build/text/index.txt", "API Reference")
def test_toctree_domain_insertion(self):
"""

Loading…
Cancel
Save