Fixed a test that incorrectly lookdef or author.name instead of author.plain_name()

- Legacy-Id: 17827
This commit is contained in:
Henrik Levkowetz 2020-05-19 09:13:00 +00:00
parent eaa3b9797d
commit 0a885bfbb7

View file

@ -385,7 +385,7 @@ class ReviewTests(TestCase):
r = self.client.get(unassigned_url)
self.assertEqual(r.status_code, 200)
self.assertContains(r, review_req1.doc.name)
self.assertContains(r, doc_author.name)
self.assertContains(r, doc_author.plain_name())
# Test that conflicts are detected
r = self.client.post(unassigned_url, {