Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jer-Sch committed Sep 27, 2021
1 parent e82ac94 commit 906ffea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/grants/tests/models/test_grant_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ def test_creation(self):
assert isinstance(grant_category, GrantCategory)

def test_grant_category_has_a_category(self):
"""Test GrantCategory has a category attribute."""
"""Test 'category' attribute is present."""

grant_category = GrantCategoryFactory()

assert hasattr(grant_category, 'category')
assert grant_category.category == ''
assert hasattr(grant_category, 'category')

0 comments on commit 906ffea

Please sign in to comment.