Skip to content

Commit

Permalink
add test case for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jer-Sch committed Sep 22, 2021
1 parent 58b6706 commit b1961bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/grants/tests/models/test_clr_match.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,10 @@ def test_clr_match_has_payout_contribution_attribute(self):
assert hasattr(clr_match, 'payout_contribution')
assert clr_match.payout_contribution == None


def test_clr_match_has_comments(self):
"""Test 'comments' attribute and default value."""

clr_match = CLRMatchFactory()

assert hasattr(clr_match, 'comments')
assert clr_match.comments == ''

0 comments on commit b1961bb

Please sign in to comment.