Skip to content

Commit

Permalink
Add mock call assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Apr 14, 2024
1 parent cd09503 commit 658d4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_forum_post_revision.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ def get_revision(revision_id):
data = get_revision(7841565)
self.assertEqual(data.title, "test with many revisions")
self.assertEqual(data.content, "<p><em>3</em></p>")

mock.assert_called()

0 comments on commit 658d4ee

Please sign in to comment.