Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 46fee54

Browse files
committed
Test fixes
1 parent d654ed3 commit 46fee54

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/conftest.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def __init__(
634634
# Now, post the registration.
635635
self.test_client.validate(
636636
"default/user/register",
637-
"Support Runestone Interactive" if self.is_free else "Payment Amount",
637+
"Runestone Registration" if self.is_free else "Payment Amount",
638638
data=dict(
639639
username=self.username,
640640
first_name=self.first_name,
@@ -702,9 +702,7 @@ def update_profile(
702702
if is_free is None:
703703
expected_string = "Course Selection"
704704
else:
705-
expected_string = (
706-
"Support Runestone Interactive" if is_free else "Payment Amount"
707-
)
705+
expected_string = "Our Mission" if is_free else "Payment Amount"
708706
username = username or self.username
709707
first_name = first_name or self.first_name
710708
last_name = last_name or self.last_name

tests/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_killer(test_assignment, test_client, test_user_1, runestone_db_tools):
130130
# ('default/sendreport', True, 'Could not create issue', 1),
131131
("default/terms", False, "Terms and Conditions", 1),
132132
("default/privacy", False, "Runestone Academy Privacy Policy", 1),
133-
("default/donate", False, "Support Runestone Interactive", 1),
133+
("default/donate", False, "Support Runestone Academy", 1),
134134
# TODO: This doesn't really test much of the body of either of these.
135135
("default/coursechooser", True, "Course Selection", 1),
136136
# If we choose an invalid course, then we go to the profile to allow the user to add that course. The second validation failure seems to be about the ``for`` attribute of the ```<label class="readonly" for="auth_user_email" id="auth_user_email__label">`` tag, since the id ``auth_user_email`` isn't defined elsewhere.

0 commit comments

Comments
 (0)