def test_track_request_does_not_send_data_to_influxdb_for_not_tracked_uris(
    mocker: MockerFixture,
) -> None:
    """
    Verify that the correct number of calls are made to InfluxDB for the various uris.
    """
    # Given
    mock_influxdb = mocker.patch("app_analytics.track.InfluxDBWrapper")
    mock_environment = mocker.MagicMock()

    # When
    track_request_influxdb(
        resource=None,
        host="testserver",
        environment=mock_environment,
    )

    # Then
    mock_influxdb.return_value.assert_not_called()

    Verify that the correct number of calls are made to InfluxDB for the various uris.
    
api/tests/unit/app_analytics/test_unit_app_analytics_track.py