Skip to content

Commit

Permalink
removing redundant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiebelle committed Jan 7, 2024
1 parent a2ea849 commit 1ea75aa
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions sponsors/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@

from django.test import TestCase, RequestFactory

from sponsors.admin import SponsorshipStatusListFilter, SponsorshipAdmin
from sponsors.models import Sponsorship

class TestSponsorshipAdmin(TestCase):
def setUp(self):
self.request = RequestFactory().get("/")
self.model_admin = SponsorshipAdmin
def test_get_benefits_for_current_year(self):
from sponsors.admin import SponsorshipStatusListFilter, SponsorshipAdmin, SponsorBenefitInline
from sponsors.forms import SponsorBenefitAdminInlineForm
from sponsors.models import Sponsorship, SponsorBenefit


class TestCustomSponsorshipStatusListFilter(TestCase):
Expand Down

0 comments on commit 1ea75aa

Please sign in to comment.