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

Commit

Permalink
Fixes failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Jun 18, 2015
1 parent 358d583 commit 0f38378
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions onegov/election_day/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def election_day_app(postgres_dsn, temporary_directory):

app.filestorage.setcontents('principal.yml', textwrap.dedent("""
name: Kanton Govikon
logo: logo.jpg
"""))

yield app
1 change: 1 addition & 0 deletions onegov/election_day/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
def test_load_principal():
principal = Principal.from_yaml(textwrap.dedent("""
name: Foobar
logo:
"""))

assert principal.name == 'Foobar'

0 comments on commit 0f38378

Please sign in to comment.