diff --git a/tests/py/test_notifications.py b/tests/py/test_notifications.py index f516d6912d..a4db7f2abc 100644 --- a/tests/py/test_notifications.py +++ b/tests/py/test_notifications.py @@ -27,4 +27,4 @@ def test_remove_notification(self): assert alice.notifications == ["abcd", "bcde"] def test_star_announcement(self): - assert '/on/npm/">integrate' in self.client.GET('/').body + assert '/on/npm/">integrate' in self.client.GET('/about/').body diff --git a/tests/ttw/test_homepage.py b/tests/ttw/test_homepage.py index b19e69e572..2e1f50bbd0 100644 --- a/tests/ttw/test_homepage.py +++ b/tests/ttw/test_homepage.py @@ -5,15 +5,13 @@ class Tests(BrowserHarness): - def test_homepage_renders_copy_correctly_for_anon(self): - assert self.css('#content h1').html == 'Pay for Open Source' + def test_loads_for_anon(self): + assert self.css('#banner h1').html == 'Pay for open source.' assert self.css('#header .sign-in button').html.strip()[:17] == 'Sign in / Sign up' - def test_homepage_renders_copy_correctly_for_authed(self): + def test_loads_for_authed(self): self.make_participant('alice', claimed_time='now') self.sign_in('alice') self.reload() - assert self.css('#content h1').html == 'Pay for Open Source' + assert self.css('#banner h1').html == 'Pay for open source.' assert self.css('.you-are a').html.strip()[:6] == '~alice' - -