Skip to content

BUG-042: test_csv_endpoint_still_requires_api_key_when_set — DB pool not initialised #9

Closed

Description

@amar-python

Summary

Unit-marked test hits DB pool before auth guard fires. Fails with RuntimeError: DB pool not initialised.

Fix

Change HealthContract class marker from unit to integration in tests/test_api.py — this test needs a running API stack.

Activity

  1. added
    bugSomething isn't working
    duplicateThis issue or pull request already exists
    on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions