-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Solly
committed
Jul 19, 2023
1 parent
5e1ecba
commit f5d2c8f
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -399,7 +399,9 @@ def test_profile_view_edit(self): | |
reverse("profile"), | ||
data={"email": "[email protected]", "username": "modified"}, | ||
) | ||
self.assertTrue(message_in_response(response, "Your account has been updated")) | ||
self.assertTrue( | ||
message_in_response(response, "Your account has been updated. Thanks!") | ||
) | ||
self.test_user.refresh_from_db() | ||
self.assertEqual(self.test_user.email, "[email protected]") | ||
self.assertEqual(self.test_user.username, "modified") | ||
|