From 233ff900d6593f2823c3156aabb7ee199392ee3b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 31 Jan 2017 21:07:17 +0000 Subject: [PATCH] Fix about page tests --- content/pages/about.html | 2 +- tests/tests_pages.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/pages/about.html b/content/pages/about.html index d64b20d..c1fe46f 100644 --- a/content/pages/about.html +++ b/content/pages/about.html @@ -16,7 +16,7 @@
-

Websites

+

Website

My website is the culmination of all my knowledge, compiled into 1 place. It not only contains all my projects, but is itself is a project.

diff --git a/tests/tests_pages.py b/tests/tests_pages.py index e7ddde2..2afd2ae 100644 --- a/tests/tests_pages.py +++ b/tests/tests_pages.py @@ -44,20 +44,20 @@ class HomepageTestCase(TestCase): class AboutPageTestCase(TestCase): def test_title(self): content = self.client.get('about/index.html') - self.assertHeaderTitle(content, 'About Me') + self.assertHeaderTitle(content, 'About') self.assertTitle(content, 'About') def test_website_section(self): content = self.client.get('about/index.html') section = content.find('section', id='website') subtitle = section.find('h2') - self.assertEqual('About my website', self.get_children(subtitle)) + self.assertEqual('Website', self.get_children(subtitle)) def test_server_section(self): content = self.client.get('about/index.html') section = content.find('section', id='server') subtitle = section.find('h2') - self.assertEqual('The Server', self.get_children(subtitle)) + self.assertEqual('Server', self.get_children(subtitle)) def test_github_card(self): content = self.client.get('about/index.html')