File tree Expand file tree Collapse file tree
aws-durable-execution-sdk-python-examples
aws-durable-execution-sdk-python-otel
aws-durable-execution-sdk-python Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,15 +15,6 @@ dependencies = [
1515[tool .hatch .build .targets .wheel ]
1616packages = [" src" ]
1717
18- [tool .pytest .ini_options ]
19- testpaths = [" test" ]
20- addopts = " -v --strict-markers"
21- pythonpath = [" ." ]
22- markers = [
23- " example: marks tests as example tests (deselect with '-m \" not example\" ')" ,
24- " durable_execution: marks tests that use the durable_runner fixture (not used for test selection)" ,
25- ]
26-
2718[tool .hatch .envs .examples .scripts ]
2819cli = " python cli.py {args}"
2920bootstrap = " python cli.py bootstrap"
Original file line number Diff line number Diff line change @@ -80,7 +80,3 @@ lines-after-imports = 2
8080 " SIM117" ,
8181 " TRY301" ,
8282]
83-
84- [tool .pytest .ini_options ]
85- testpaths = [" tests" ]
86- addopts = " -v --strict-markers"
Original file line number Diff line number Diff line change @@ -73,16 +73,3 @@ lines-after-imports = 2
7373 " SIM117" ,
7474 " TRY301" ,
7575]
76-
77- [tool .pytest .ini_options ]
78- # Declare custom markers to avoid warnings with --strict-markers
79- markers = [
80- # Used for test selection with -m example
81- " example: marks tests as example tests (deselect with '-m \" not example\" ')" ,
82- # Used for configuration - passes handler and lambda_function_name to durable_runner fixture
83- " durable_execution: marks tests that use the durable_runner fixture (not used for test selection)" ,
84- ]
85- # Default test discovery paths
86- testpaths = [" tests" ]
87- # Default options for all test runs
88- addopts = " -v --strict-markers"
Original file line number Diff line number Diff line change @@ -22,13 +22,19 @@ cov = "pytest --cov-report=term-missing --cov {args}"
2222examples-integration = " pytest --runner-mode=cloud -m example packages/aws-durable-execution-sdk-python-examples/test/ -v {args}"
2323
2424[tool .pytest .ini_options ]
25- addopts = " --import-mode=importlib"
25+ # Declare custom markers to avoid warnings with --strict-markers
26+ addopts = " -v --strict-markers --import-mode=importlib"
2627testpaths = [
2728 " packages/aws-durable-execution-sdk-python/tests" ,
2829 " packages/aws-durable-execution-sdk-python-otel/tests" ,
2930 " packages/aws-durable-execution-sdk-python-examples/test" ,
3031]
31-
32+ markers = [
33+ # Used for test selection with -m example
34+ " example: marks tests as example tests (deselect with '-m \" not example\" ')" ,
35+ # Used for configuration - passes handler and lambda_function_name to durable_runner fixture
36+ " durable_execution: marks tests that use the durable_runner fixture (not used for test selection)" ,
37+ ]
3238
3339[tool .hatch .envs .types ]
3440workspace.members = [" packages/*" ]
You can’t perform that action at this time.
0 commit comments