Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Mar 16, 2016
1 parent abb4958 commit 699880e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions onegov/town/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,22 +202,22 @@ def test_startpage(town_app):

links = client.get('/').pyquery('.homepage-tiles a')

assert links[0].find('h2').text == 'Bildung & Gesellschaft'
assert links[0].find('h3').text == 'Bildung & Gesellschaft'
assert links[0].attrib.get('href').endswith('/themen/bildung-gesellschaft')

assert links[1].find('h2').text == 'Gewerbe & Tourismus'
assert links[1].find('h3').text == 'Gewerbe & Tourismus'
assert links[1].attrib.get('href').endswith('/themen/gewerbe-tourismus')

assert links[2].find('h2').text == 'Kultur & Freizeit'
assert links[2].find('h3').text == 'Kultur & Freizeit'
assert links[2].attrib.get('href').endswith('/themen/kultur-freizeit')

assert links[3].find('h2').text == 'Leben & Wohnen'
assert links[3].find('h3').text == 'Leben & Wohnen'
assert links[3].attrib.get('href').endswith('/themen/leben-wohnen')

assert links[4].find('h2').text == 'Politik & Verwaltung'
assert links[4].find('h3').text == 'Politik & Verwaltung'
assert links[4].attrib.get('href').endswith('/themen/politik-verwaltung')

assert links[5].find('h2').text == 'Aktuelles'
assert links[5].find('h3').text == 'Aktuelles'
assert links[5].attrib.get('href').endswith('/aktuelles')


Expand Down

0 comments on commit 699880e

Please sign in to comment.