We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaf5105 commit d5a5e42Copy full SHA for d5a5e42
users/tests/test_views.py
@@ -474,7 +474,7 @@ def test_asset_links_are_direct(self) -> None:
474
expected_asset_link = f'href="{asset.value.url}"'
475
476
# and finally check that the asset link is ACTUALLY pointing to the asset and not the list view page
477
- self.assertIn("View asset", content, "View asset text not found.")
+ self.assertIn("View File", content, "View file text not found.")
478
self.assertIn(expected_asset_link, content, "Asset link not found in the page.")
479
self.assertEqual(response.status_code, 200)
480
self.assertTemplateUsed(response, "users/sponsorship_detail.html")
0 commit comments