Skip to content

[Bug]: test_admin_tool_name_conflict creates record in actual db #495

@madhav165

Description

@madhav165

🐞 Bug Summary

Test test_admin_tool_name_conflict creates a tool of the format f"duplicate_tool_{uuid.uuid4().hex[:8]}" in application database instead of mock database


🔁 Steps to Reproduce

  1. Run make test on an existing application database
  2. Run make serve and check tool list
  3. Find tool with name starting with duplicate_tool_.

🤔 Expected Behavior

Tests should use mock db, not actual db


Metadata

Metadata

Labels

bugSomething isn't workingtriageIssues / Features awaiting triage

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions