-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (58 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (58 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[project]
name = "ess-maker-kit-tests"
version = "0.0.0"
description = "Internal test suite for the ESS Maker Kit. Not packaged for distribution."
requires-python = ">=3.11"
# Runtime deps live in solutions/ess-maker-skills/scripts/requirements.txt and
# solutions/ess-maker-skills/src/mcp/{workday,servicenow}/requirements.txt.
# This file declares only the *test* dependencies needed by the suite under
# tests/. Install with: pip install -e .[test]
[project.optional-dependencies]
test = [
"pytest>=8.0,<9.0",
"pytest-cov>=5.0,<7.0",
"vcrpy>=6.0,<8.0",
"responses>=0.25,<1.0",
"respx>=0.21,<1.0", # for httpx-based code (src/mcp/workday/client.py)
"PyYAML>=6.0,<7.0",
]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
# pyproject.toml is configured to add solutions/ess-maker-skills/scripts to
# pythonpath so tests can `from auth import ...` and `from flightcheck import ...`.
pythonpath = [
"solutions/ess-maker-skills/scripts",
]
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--showlocals",
]
markers = [
"vcr: tests that replay a VCR.py cassette (cassette path resolved from test name)",
"live: tests that make real network calls (skipped by default; opt in with --run-live)",
]
filterwarnings = [
"error",
# MSAL emits a DeprecationWarning when running under recent Python; not actionable here.
"ignore::DeprecationWarning:msal.*",
]
[tool.coverage.run]
source = [
"solutions/ess-maker-skills/scripts",
"solutions/ess-maker-skills/src/mcp",
]
omit = [
"*/__pycache__/*",
"tests/*",
]
[tool.coverage.report]
show_missing = true
skip_empty = true
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]