Framework Mode - Testing multiple exceptions
Folder Structure
tests/ ├── test_example.py ├── conftest.py utilities/ ├── helpers.py pytest.ini requirements.txt
tests/ ├── test_example.py ├── conftest.py utilities/ ├── helpers.py pytest.ini requirements.txt
test_example.py where multiple exceptions are tested using pytest.helpers.py.conftest.py for shared fixtures and setup/teardown logic.pytest.ini to configure test markers and default options.conftest.py fixtures.--tb=short for concise tracebacks.pytest-html for HTML reports.pytest.raises() context manager to assert exceptions.Where would you add a new test function that checks if a function raises ValueError and TypeError in this framework structure?