From 2e0bcb151da22b7bd641dc623d96007886db685d Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Mon, 15 Apr 2024 23:17:47 -0400 Subject: [PATCH] Fix unit tests. --- test/test_forum_post_revision.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_forum_post_revision.py b/test/test_forum_post_revision.py index 8f5c587..cb7ba2d 100644 --- a/test/test_forum_post_revision.py +++ b/test/test_forum_post_revision.py @@ -35,14 +35,14 @@ def get_revision(revision_id): data = get_revision(7841563) self.assertEqual(data.title, "test with many revisions") - self.assertEqual(data.content, "

1

") + self.assertEqual(data.html, "

1

") data = get_revision(7841564) self.assertEqual(data.title, "test with many revisions") - self.assertEqual(data.content, "

2

") + self.assertEqual(data.html, "

2

") data = get_revision(7841565) self.assertEqual(data.title, "test with many revisions") - self.assertEqual(data.content, "

3

") + self.assertEqual(data.html, "

3

") mock.assert_called()