Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4nks committed Feb 9, 2018
1 parent 44ea4c7 commit f9cddcb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/endtoend/test_message_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from werkzeug import exceptions
from flask_login import login_user

from flaskbb.message import views
from flaskbb.message import views, models


def test_message_not_logged_in(application):
Expand All @@ -18,7 +18,8 @@ def test_message_inbox(application, default_settings, conversation_msgs, user):
with application.test_request_context():
login_user(user)
resp = view.get()
assert 'From <a href="/user/test_normal">test_normal</a>' in resp
assert '<a href="/message/1/view">' in resp
assert '<a href="/user/test_normal">test_normal</a>' in resp


def test_message_view_conversation(
Expand Down

0 comments on commit f9cddcb

Please sign in to comment.