aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/gr
diff options
context:
space:
mode:
authorMax Nanis2026-08-24 12:35:35 -0700
committerMax Nanis2026-08-24 12:35:35 -0700
commite2c5de703be45746bacaea4136f24440ff5a291c (patch)
tree9c3d9d448e56357feda24a4b0749370a9a33cb55 /tests/managers/gr
parentd48f04ab7f034b9b2039c42cd616d7d7851817b9 (diff)
downloadgeneralresearch-e2c5de703be45746bacaea4136f24440ff5a291c.tar.gz
generalresearch-e2c5de703be45746bacaea4136f24440ff5a291c.zip
Ruff std replacements
Diffstat (limited to 'tests/managers/gr')
-rw-r--r--tests/managers/gr/test_authentication.py3
-rw-r--r--tests/managers/gr/test_business.py4
-rw-r--r--tests/managers/gr/test_team.py2
3 files changed, 1 insertions, 8 deletions
diff --git a/tests/managers/gr/test_authentication.py b/tests/managers/gr/test_authentication.py
index 53b6931..b9f43a6 100644
--- a/tests/managers/gr/test_authentication.py
+++ b/tests/managers/gr/test_authentication.py
@@ -1,11 +1,9 @@
import logging
-from random import randint
from uuid import uuid4
import pytest
from generalresearch.models.gr.authentication import GRUser
-from test_utils.models.conftest import gr_user
SSO_ISSUER = ""
@@ -13,7 +11,6 @@ SSO_ISSUER = ""
class TestGRUserManager:
def test_create(self, gr_um):
- from generalresearch.models.gr.authentication import GRUser
user: GRUser = gr_um.create_dummy()
instance = gr_um.get_by_id(user.id)
diff --git a/tests/managers/gr/test_business.py b/tests/managers/gr/test_business.py
index 7eb77f8..74a5450 100644
--- a/tests/managers/gr/test_business.py
+++ b/tests/managers/gr/test_business.py
@@ -2,8 +2,6 @@ from uuid import uuid4
import pytest
-from test_utils.models.conftest import business
-
class TestBusinessBankAccountManager:
@@ -12,8 +10,8 @@ class TestBusinessBankAccountManager:
def test_create(self, business, business_bank_account_manager):
from generalresearch.models.gr.business import (
- TransferMethod,
BusinessBankAccount,
+ TransferMethod,
)
instance = business_bank_account_manager.create(
diff --git a/tests/managers/gr/test_team.py b/tests/managers/gr/test_team.py
index 9215da4..0918ab8 100644
--- a/tests/managers/gr/test_team.py
+++ b/tests/managers/gr/test_team.py
@@ -1,7 +1,5 @@
from uuid import uuid4
-from test_utils.models.conftest import team
-
class TestMembershipManager: