Skip to content

Commit 93b310e

Browse files
bnmnetpclaude
andcommitted
Fix bare poetry run pytest invocation
- Add testpaths=["test"] and norecursedirs to exclude web2py, interactives, and other non-pytest directories that caused collection errors - Add --import-mode=importlib to avoid rsptx.logging / stdlib logging name clash - Add tldextract dependency (used by admin_server_api/routers/lti1p3.py but missing from pyproject.toml, causing admin server test collection failure) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2248122 commit 93b310e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ standard-asyncore = "^3.13.0"
104104
standard-imghdr = "^3.13.0"
105105
standard-cgi = "^3.13.0"
106106
duckdb = "^1.3.2"
107+
tldextract = "^5.0.0"
107108

108109
[tool.poetry.group.dev.dependencies]
109110
black = "~= 25.0"
@@ -178,6 +179,19 @@ exclude = [
178179
[tool.pytest.ini_options]
179180
asyncio_mode = "auto"
180181
asyncio_default_fixture_loop_scope = "session"
182+
addopts = "--import-mode=importlib"
183+
testpaths = ["test"]
184+
norecursedirs = [
185+
"bases/rsptx/web2py_server",
186+
"bases/rsptx/interactives",
187+
"bases/rsptx/dash_server_api",
188+
".venv",
189+
"projects",
190+
"migrations",
191+
"dist",
192+
"build",
193+
"node_modules",
194+
]
181195

182196
[tool.black]
183197
line-length = 88

0 commit comments

Comments
 (0)