forked from gergely/calendar-social
[Bugfix] Fix broken tests
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user