Added a service that can get all current tournaments list
This commit is contained in:
parent
e6023e0687
commit
3d0bd47079
26 changed files with 4305 additions and 204 deletions
|
@ -18,3 +18,9 @@ async def test_user_has_available_slots(club, user):
|
|||
@pytest.mark.asyncio
|
||||
async def test_cancel_booking(club, user, booking_filter):
|
||||
await GestionSportsServices.cancel_booking(user, club, booking_filter)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_all_tournaments(user, club):
|
||||
tournaments = await GestionSportsServices.get_all_tournaments(user, club)
|
||||
assert len(tournaments) == 14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue