Commit 4f58ada2 authored by D.H.D. Nguyen's avatar D.H.D. Nguyen
Browse files

update message in tests due to changing in templates

parent 36769d19
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/functional/test_annotators.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -88,5 +88,5 @@ def test_invalid_name(test_client, init_database):
	# 2.
	assert b"Annotator - Main page" in response.data
	# 3.
	assert b"This keyword is used, account is no longer available!" in response.data
	assert b"""This name is not used for this keyword! Have you logged in with this keyword before? If not, someone has already used it!""" in response.data
+0 −4
Changes for tests/functional/test_batches.py: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -129,7 +129,3 @@ def test_resubmit_same_batch(test_client, init_database):
	assert b"Batch 1 already submitted!" in response.data




+1 −1
Changes for tests/functional/test_homepage.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ def test_home_page(test_client):
	response = test_client.get('/')
	assert response.status_code == 200
	assert b"Homepage" in response.data
	assert b"This is a simple website using <strong> Best-Worst-Scaling</strong></a> for items evaluation." in response.data
	assert b"""This is a simple website using """ in response.data

def test_user_homepage(test_client):
	"""