aboutsummaryrefslogtreecommitdiff
path: root/tests/models
diff options
context:
space:
mode:
authorstuppie2026-09-03 16:54:17 -0600
committerstuppie2026-09-03 16:54:17 -0600
commit780bf9ecbe3e444c3d7d6944c5f610f4ef390ca9 (patch)
tree696a0cbcdc20d7faf2cf565476ba54e2c6a7b3b2 /tests/models
parent4415e04365e4a92b5b7d7ee55fa5193692d1d29b (diff)
downloadgeneralresearch-780bf9ecbe3e444c3d7d6944c5f610f4ef390ca9.tar.gz
generalresearch-780bf9ecbe3e444c3d7d6944c5f610f4ef390ca9.zip
now a lot of thl wall/session tests working
Diffstat (limited to 'tests/models')
-rw-r--r--tests/models/thl/test_adjustments.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/models/thl/test_adjustments.py b/tests/models/thl/test_adjustments.py
index cd75318..5d8605a 100644
--- a/tests/models/thl/test_adjustments.py
+++ b/tests/models/thl/test_adjustments.py
@@ -14,15 +14,13 @@ from generalresearch.models.thl.session import (
Status,
StatusCode1,
WallAdjustedStatus,
+ Session,
+ Wall,
)
if TYPE_CHECKING:
from generalresearch.managers.thl.session import SessionManager
from generalresearch.managers.thl.wall import WallManager
- from generalresearch.models.thl.session import (
- Session,
- Wall,
- )
from generalresearch.models.thl.user import User
started1 = datetime(2023, 1, 1, tzinfo=UTC)
@@ -36,7 +34,6 @@ adj_ts3 = datetime(2023, 2, 4, tzinfo=UTC)
class TestProductAdjustments:
-
@pytest.mark.parametrize("payout", [".6", "1", "1.8", "2", "500.0000"])
def test_determine_bp_payment_no_rounding(
self, product_factory: Callable[..., Product], payout: str
@@ -57,7 +54,6 @@ class TestProductAdjustments:
class TestSessionAdjustments:
-
def test_status_complete(self, session_factory: Callable[..., Session], user: User):
# Completed Session with 2 wall events
s1 = session_factory(
@@ -80,7 +76,6 @@ class TestSessionAdjustments:
class TestAdjustments:
-
def test_finish_with_status(
self,
session_factory: Callable[..., Session],