test(agents): add validation tests for category and display fields
Added comprehensive unit and API tests to validate AgentType category and display fields: - Category validation for valid, null, and invalid values - Icon, color, and sort_order field constraints - Typical tasks and collaboration hints handling (stripping, removing empty strings, normalization) - New API tests for field creation, filtering, updating, and grouping
This commit is contained in:
@@ -42,6 +42,9 @@ class TestInitDb:
|
||||
assert user.last_name == "User"
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.skip(
|
||||
reason="SQLite doesn't support UUID type binding - requires PostgreSQL"
|
||||
)
|
||||
async def test_init_db_returns_existing_superuser(
|
||||
self, async_test_db, async_test_user
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user