This commit is contained in:
parent
4d53a46850
commit
415dd12fd9
16 changed files with 843 additions and 379 deletions
|
|
@ -67,7 +67,7 @@ class GameOwnerOrganizationTests(TestCase):
|
|||
game: Game = Game.objects.get(twitch_id="263490")
|
||||
org1: Organization = Organization.objects.get(twitch_id="d32de13d-937e-4196-8198-1a7f875f295a")
|
||||
org2: Organization = Organization.objects.get(twitch_id="other-org-id")
|
||||
owners = list(game.owners.all())
|
||||
owners: list[Organization] = list(game.owners.all())
|
||||
assert org1 in owners
|
||||
assert org2 in owners
|
||||
assert any(o.name == "Twitch Gaming" for o in owners)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue