[Bugfix] Fix broken tests

This commit is contained in:
2018-07-23 12:58:12 +02:00
parent 4c3ec0564f
commit 11bd30e01f
3 changed files with 9 additions and 18 deletions

View File

@@ -23,14 +23,6 @@ from calsocial.models import db, User
from helpers import client, login
def test_index_no_login(client):
"""Test the main page without logging in
"""
page = client.get('/')
assert b'Welcome to Calendar.social' in page.data
def test_login_invalid_user(client):
"""Test logging in with a non-existing user
"""
@@ -81,4 +73,4 @@ def test_login_first_steps(client):
assert page.location == 'http://localhost/'
page = client.get('/')
assert page.location == 'http://localhost/first-steps'
assert page.location == 'http://localhost/accounts/first-steps'