aboutsummaryrefslogtreecommitdiff
path: root/test_utils/models/upk/conftest.py
diff options
context:
space:
mode:
authorstuppie2026-09-07 11:47:43 -0600
committerstuppie2026-09-07 11:47:43 -0600
commit092960233652cce1f4dc7841856034a6635e9cd9 (patch)
tree46e5fcd4d1e1b7ed0b987980c6c67ffa6e6b45c7 /test_utils/models/upk/conftest.py
parent80fd8aab4c7271ddb619b0de18741d7ac77b490b (diff)
parent242579a44855873d5e054e375440e9d3492cd682 (diff)
downloadgeneralresearch-092960233652cce1f4dc7841856034a6635e9cd9.tar.gz
generalresearch-092960233652cce1f4dc7841856034a6635e9cd9.zip
Merge branch 'master' into dev-greg
Diffstat (limited to 'test_utils/models/upk/conftest.py')
-rw-r--r--test_utils/models/upk/conftest.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/test_utils/models/upk/conftest.py b/test_utils/models/upk/conftest.py
index c8855da..ad96bbb 100644
--- a/test_utils/models/upk/conftest.py
+++ b/test_utils/models/upk/conftest.py
@@ -2,17 +2,15 @@ from __future__ import annotations
import os
import time
-from typing import TYPE_CHECKING
+from collections.abc import Callable
from uuid import UUID
import pandas as pd
import pytest
+from generalresearch.managers.thl.category import CategoryManager
from generalresearch.pg_helper import PostgresConfig
-if TYPE_CHECKING:
- from generalresearch.managers.thl.category import CategoryManager
-
def insert_data_from_csv(
thl_web_rw: PostgresConfig,
@@ -169,9 +167,13 @@ def upk_data(
propertymarketplaceassociation_data,
propertyitemrange_data,
question_data,
-) -> None:
- # Wait a second to make sure the HarmonizerCache refresh loop pulls these in
- time.sleep(2)
+) -> Callable[..., None]:
+
+ def _inner():
+ # Wait a second to make sure the HarmonizerCache refresh loop pulls these in
+ time.sleep(2)
+
+ return _inner
def test_fixtures(upk_data):