refactor(tests): remove unused TestPerformance class from schema resolver tests

This commit is contained in:
Harry 2025-08-26 15:47:22 +08:00
parent 46019ea927
commit a282b6cea4
2 changed files with 4 additions and 4 deletions

View File

@ -535,10 +535,6 @@ class TestSchemaResolverClass:
assert resolved[2]["type"] == "object"
assert resolved[2]["title"] == "Q&A Structure Schema"
class TestPerformance:
"""Performance-related tests"""
def test_cache_performance(self):
"""Test that caching improves performance"""
SchemaResolver.clear_cache()

4
spec.http Normal file
View File

@ -0,0 +1,4 @@
GET /console/api/spec/schema-definitions
Host: cloud-rag.dify.dev
authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiNzExMDZhYTQtZWJlMC00NGMzLWI4NWYtMWQ4Mjc5ZTExOGZmIiwiZXhwIjoxNzU2MTkyNDE4LCJpc3MiOiJDTE9VRCIsInN1YiI6IkNvbnNvbGUgQVBJIFBhc3Nwb3J0In0.Yx_TMdWVXCp5YEoQ8WR90lRhHHKggxAQvEl5RUnkZuc
###