From d085781ada7b4b9a37df7358fa03150706134f2f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 17 Jan 2017 22:14:01 +0000 Subject: [PATCH] update header assert in tests --- tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__init__.py b/tests/__init__.py index 83d67b0..1b8d62f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -35,7 +35,7 @@ class TestCase(unittest.TestCase): self.assertIn(title, content.title.string) def assertHeaderTitle(self, content, title): - header_title = content.find('h1', class_="section-heading") + header_title = content.find('div', class_="header-content").find('h1') self.assertIn(title, self.get_children(header_title)) def assertSamePath(self, p1, p2):