Allow operation_names to be a list instead of a singular item

This commit is contained in:
Joakim Hellsén 2026-01-17 07:05:41 +01:00
commit 65a7622582
No known key found for this signature in database
7 changed files with 104 additions and 42 deletions

View file

@ -39,7 +39,7 @@ class RSSFeedTestCase(TestCase):
game=self.game,
start_at=timezone.now(),
end_at=timezone.now() + timedelta(days=7),
operation_name="DropCampaignDetails",
operation_names=["DropCampaignDetails"],
)
def test_organization_feed(self) -> None:
@ -132,7 +132,7 @@ class RSSFeedTestCase(TestCase):
game=other_game,
start_at=timezone.now(),
end_at=timezone.now() + timedelta(days=7),
operation_name="DropCampaignDetails",
operation_names=["DropCampaignDetails"],
)
# Get feed for first game
@ -165,7 +165,7 @@ class RSSFeedTestCase(TestCase):
game=other_game,
start_at=timezone.now(),
end_at=timezone.now() + timedelta(days=7),
operation_name="DropCampaignDetails",
operation_names=["DropCampaignDetails"],
)
# Get feed for first organization