Command: python -m pytest -v -p no:cacheprovider
Environment: PYTHONDONTWRITEBYTECODE=1; RUN_MONGO_INTEGRATION=1; MONGO_TEST_URI=mongodb://127.0.0.1:27017

============================= test session starts =============================
platform win32 -- Python 3.14.0, pytest-9.1.1, pluggy-1.6.0 -- <TEMP_VENV>\Scripts\python.exe
rootdir: <SUBMISSION_ROOT>\enhanced\source
configfile: pytest.ini
plugins: dash-4.4.1
collecting ... collected 30 items

tests/test_authentication.py::test_dashboard_requires_and_accepts_basic_auth PASSED [  3%]
tests/test_authentication.py::test_chart_and_map_have_visible_flex_containers PASSED [  6%]
tests/test_configuration.py::test_environment_configuration_loads PASSED [ 10%]
tests/test_configuration.py::test_missing_configuration_fails_clearly PASSED [ 13%]
tests/test_configuration.py::test_partial_database_credentials_are_rejected PASSED [ 16%]
tests/test_configuration.py::test_staff_mapping_and_missing_authentication PASSED [ 20%]
tests/test_configuration.py::test_runtime_loads_local_dotenv_without_merging_explicit_mapping PASSED [ 23%]
tests/test_crud.py::test_create_accepts_valid_data_without_mutating_caller PASSED [ 26%]
tests/test_crud.py::test_create_replaces_caller_record_number_and_keeps_input_unchanged PASSED [ 30%]
tests/test_crud.py::test_create_handles_counter_failure_without_logging_sensitive_message PASSED [ 33%]
tests/test_crud.py::test_create_rejects_invalid_input PASSED             [ 36%]
tests/test_crud.py::test_read_projection_and_bounded_skip_limit PASSED   [ 40%]
tests/test_crud.py::test_update_and_delete_counts PASSED                 [ 43%]
tests/test_crud.py::test_atomic_counter_values_are_sequential_and_unique PASSED [ 46%]
tests/test_crud.py::test_consecutive_creates_receive_unique_generated_values PASSED [ 50%]
tests/test_crud.py::test_unique_record_index_exists PASSED               [ 53%]
tests/test_crud.py::test_explicit_collection_injection_does_not_test_truth_value PASSED [ 56%]
tests/test_dashboard_helpers.py::test_named_column_map_selection_and_out_of_range_fallback PASSED [ 60%]
tests/test_dashboard_helpers.py::test_map_handles_empty_and_missing_columns PASSED [ 63%]
tests/test_dashboard_helpers.py::test_filter_dispatch_uses_data_layer PASSED [ 66%]
tests/test_dashboard_helpers.py::test_empty_initial_data_has_stable_named_columns_without_internal_id PASSED [ 70%]
tests/test_dashboard_helpers.py::test_display_columns_add_safe_fields_but_exclude_internal_id PASSED [ 73%]
tests/test_database_setup.py::test_schema_has_required_dashboard_fields_and_nonnegative_age PASSED [ 76%]
tests/test_mongodb_integration.py::test_real_schema_accepts_valid_and_rejects_invalid PASSED [ 80%]
tests/test_mongodb_integration.py::test_real_indexes_have_expected_order_and_uniqueness PASSED [ 83%]
tests/test_mongodb_integration.py::test_real_atomic_counter_is_unique_under_concurrency PASSED [ 86%]
tests/test_rescue_queries.py::test_rescue_criteria_are_preserved PASSED  [ 90%]
tests/test_rescue_queries.py::test_each_rescue_helper_returns_expected_match PASSED [ 93%]
tests/test_synthetic_dashboard_evidence.py::test_synthetic_fixture_covers_rescue_filters_and_chart_outcomes PASSED [ 96%]
tests/test_synthetic_dashboard_evidence.py::test_no_water_mode_creates_a_legitimate_empty_filter_state PASSED [100%]

============================== warnings summary ===============================
tests/test_authentication.py::test_dashboard_requires_and_accepts_basic_auth
tests/test_authentication.py::test_chart_and_map_have_visible_flex_containers
  <TEMP_VENV>\Lib\site-packages\dash\development\base_component.py:159: DeprecationWarning: 
  The dash_table.DataTable will be removed from the builtin dash components in a future major version.
  We recommend using dash-ag-grid as a replacement. Install with `pip install dash[ag-grid]`.
  
    self._validate_deprecation()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 30 passed, 2 warnings in 3.15s ========================

