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 ca661b2 commit f5dd973Copy full SHA for f5dd973
tests/test_admin.py
@@ -315,7 +315,7 @@ def test_message_with_attachment_admin(self):
315
316
change_url = reverse('admin:newsletter_message_change', args=(self.message_with_attachment.pk,))
317
response = self.client.get(change_url)
318
- self.assertContains(response, '<h2>Attachments</h2>', html=True)
+ self.assertContains(response, '<a href="/tests/files/sample.txt">tests/files/sample.txt</a>', html=True)
319
320
321
class MessageAdminTests(AdminTestMixin, TestCase):
0 commit comments