Skip to content

Commit

Permalink
Fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotheem committed Dec 2, 2024
1 parent 05ae419 commit f331e3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions tests/test_raid.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ def test_delete_team(client: TestClient):
assert response.status_code == 204


@pytest.mark.asyncio
async def test_get_payment_url_no_participant(client: TestClient, mocker):
# Mock the necessary dependencies
mocker.patch("app.modules.raid.cruds_raid.get_participant_by_id", return_value=None)
Expand All @@ -573,7 +572,6 @@ async def test_get_payment_url_no_participant(client: TestClient, mocker):
assert response.json()["url"] == "https://some.url.fr/checkout"


@pytest.mark.asyncio
async def test_get_payment_url_participant_no_payment(client: TestClient, mocker):
# Mock the necessary dependencies
mocker.patch(
Expand Down Expand Up @@ -601,7 +599,6 @@ async def test_get_payment_url_participant_no_payment(client: TestClient, mocker
assert response.json()["url"] == "https://some.url.fr/checkout"


@pytest.mark.asyncio
async def test_get_payment_url_participant_with_tshirt(client: TestClient, mocker):
# Mock the necessary dependencies
mocker.patch(
Expand Down Expand Up @@ -635,7 +632,6 @@ async def test_get_payment_url_participant_with_tshirt(client: TestClient, mocke
assert response.json()["url"] == "https://some.url.fr/checkout"


# @pytest.mark.asyncio()
# async def test_get_payment_url_prices_not_set(client: TestClient, mocker):
# # Mock the necessary dependencies
# mocker.patch(
Expand All @@ -655,7 +651,6 @@ async def test_get_payment_url_participant_with_tshirt(client: TestClient, mocke
# assert response.json()["detail"] == "Prices not set."


@pytest.mark.asyncio
async def test_get_payment_url_participant_already_paid(client: TestClient, mocker):
# Mock the necessary dependencies
mocker.patch(
Expand Down
2 changes: 0 additions & 2 deletions tests/test_users.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from collections.abc import Callable
from pathlib import Path

import pytest
Expand All @@ -10,7 +9,6 @@
from app.core import models_core
from app.core.groups.groups_type import AccountType, GroupType
from app.dependencies import is_user
from app.utils.tools import is_user_external, is_user_member_of_an_allowed_group
from tests.commons import (
create_api_access_token,
create_user_with_groups,
Expand Down

0 comments on commit f331e3c

Please sign in to comment.