mirror of https://github.com/langgenius/dify.git
refactor(tests): remove unused TestPerformance class from schema resolver tests
This commit is contained in:
parent
46019ea927
commit
a282b6cea4
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
GET /console/api/spec/schema-definitions
|
||||
Host: cloud-rag.dify.dev
|
||||
authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiNzExMDZhYTQtZWJlMC00NGMzLWI4NWYtMWQ4Mjc5ZTExOGZmIiwiZXhwIjoxNzU2MTkyNDE4LCJpc3MiOiJDTE9VRCIsInN1YiI6IkNvbnNvbGUgQVBJIFBhc3Nwb3J0In0.Yx_TMdWVXCp5YEoQ8WR90lRhHHKggxAQvEl5RUnkZuc
|
||||
###
|
||||
Loading…
Reference in New Issue