Skip to content

Skipped Tests in test_threads.py Due to Missing API Key in DB #229

@avirajsingh7

Description

@avirajsingh7

Several test cases in api/routes/test_threads.py are being skipped because no API key is present in the test database. These tests use the following logic: here

Suggested Fixes:

  • Ensure a valid API key is created and added to the database during test setup so that these tests don’t get skipped.
  • Alternatively, switch these tests to use token-based auth via headers, like we do in other test cases

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions