소스 검색

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

tags/2.0.0-beta.1
Harry 2 달 전
부모
커밋
a282b6cea4
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 0
    4
      api/tests/unit_tests/core/schemas/test_resolver.py
  2. 4
    0
      spec.http

+ 0
- 4
api/tests/unit_tests/core/schemas/test_resolver.py 파일 보기

@@ -534,10 +534,6 @@ class TestSchemaResolverClass:
assert resolved[1] == {"type": "string"}
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"""

+ 4
- 0
spec.http 파일 보기

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

Loading…
취소
저장