Skip to content

Commit

Permalink
fix clubs count in test
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown committed Apr 26, 2024
1 parent d6047f1 commit 0130b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clubs/tests/integration/test_import_clubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ def test_single_association(self):
self.assert_objects(Association)

self.assert_command("import_clubs")
self.assert_objects(Club, count=11)
clubs = self.assert_objects(Club, count=12)

def test_single_association_filtered(self):
self.assert_command("import_associations", "-a", 79, 4)
self.assert_objects(Association, count=2)

self.assert_command("import_clubs", "-a", 79)
self.assert_objects(Club, count=11)
self.assert_objects(Club, count=12)

def test_single_club_filtered(self):
self.assert_command("import_associations", "-a", 95)
Expand Down

0 comments on commit 0130b10

Please sign in to comment.