diff options
author | Matthew Lemon <y@yulqen.org> | 2025-01-06 17:14:10 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2025-01-06 17:14:10 +0000 |
commit | d98250037d43cd6a0d5f613ea70bb57bd17c1ab1 (patch) | |
tree | 525d3e95fd88fc9dad653afaceb675b85a803f06 /alphabetlearning/resources/tests/test_forms.py | |
parent | b38b3b9392a62b048bef37d577b95e0286c99f7d (diff) |
Adds price to Resource model
- the test_forms tests now pass
- fixed some imports too here
Diffstat (limited to 'alphabetlearning/resources/tests/test_forms.py')
-rw-r--r-- | alphabetlearning/resources/tests/test_forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alphabetlearning/resources/tests/test_forms.py b/alphabetlearning/resources/tests/test_forms.py index 66d6d43..465dc58 100644 --- a/alphabetlearning/resources/tests/test_forms.py +++ b/alphabetlearning/resources/tests/test_forms.py @@ -53,7 +53,7 @@ class ResourceCreateFormTest(TestCase): @pytest.mark.django_db() def test_featured_slots_must_be_unique(self): - r1 = ResourceModelFactory(feature_slot=1) + _ = ResourceModelFactory(feature_slot=1) with pytest.raises(IntegrityError): ResourceModelFactory(feature_slot=1) |