@@ -37,9 +37,9 @@ def create_collection(
3737
3838
3939def test_collection_info_processing (
40- db : Session , client : TestClient , superuser_api_key_headers
40+ db : Session , client : TestClient , normal_user_api_key_headers
4141):
42- headers = superuser_api_key_headers
42+ headers = normal_user_api_key_headers
4343 user = get_user_from_api_key (db , headers )
4444 collection = create_collection (db , user , status = CollectionStatus .processing )
4545
@@ -58,9 +58,9 @@ def test_collection_info_processing(
5858
5959
6060def test_collection_info_successful (
61- db : Session , client : TestClient , superuser_api_key_headers
61+ db : Session , client : TestClient , normal_user_api_key_headers
6262):
63- headers = superuser_api_key_headers
63+ headers = normal_user_api_key_headers
6464 user = get_user_from_api_key (db , headers )
6565 collection = create_collection (
6666 db , user , status = CollectionStatus .successful , with_llm = True
@@ -81,9 +81,9 @@ def test_collection_info_successful(
8181
8282
8383def test_collection_info_failed (
84- db : Session , client : TestClient , superuser_api_key_headers
84+ db : Session , client : TestClient , normal_user_api_key_headers
8585):
86- headers = superuser_api_key_headers
86+ headers = normal_user_api_key_headers
8787 user = get_user_from_api_key (db , headers )
8888 collection = create_collection (db , user , status = CollectionStatus .failed )
8989
0 commit comments