From b5d83f84724c2a1b081c7756077a7bbf2e9f4959 Mon Sep 17 00:00:00 2001 From: Ashley Whetter Date: Sat, 6 Apr 2019 11:15:18 -0700 Subject: [PATCH] Fixed tests --- tests/python/test_pyintegration.py | 4 ++-- tests/test_integration.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/python/test_pyintegration.py b/tests/python/test_pyintegration.py index bc0a2c6..98b6913 100644 --- a/tests/python/test_pyintegration.py +++ b/tests/python/test_pyintegration.py @@ -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 diff --git a/tests/test_integration.py b/tests/test_integration.py index 28aadab..5f3c34f 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -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): """