[OND211-2329]: Updated user management tests, fixed some pycharm editor warnings.
This commit is contained in:
parent
bd83d24a08
commit
f2eeb2dbbf
7 changed files with 7 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ import pytest
|
||||||
from Cryptodome.Cipher import PKCS1_v1_5 as Cipher_pkcs1_v1_5
|
from Cryptodome.Cipher import PKCS1_v1_5 as Cipher_pkcs1_v1_5
|
||||||
from Cryptodome.PublicKey import RSA
|
from Cryptodome.PublicKey import RSA
|
||||||
|
|
||||||
from common import create_user
|
from ..common import create_user
|
||||||
from configs import INVALID_API_TOKEN
|
from configs import INVALID_API_TOKEN
|
||||||
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ from typing import Any
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from common import create_user, delete_user
|
from ..common import create_user, delete_user
|
||||||
from configs import INVALID_API_TOKEN
|
from configs import INVALID_API_TOKEN
|
||||||
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ from typing import Any
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from common import create_user, list_users
|
from ..common import create_user, list_users
|
||||||
from configs import INVALID_API_TOKEN
|
from configs import INVALID_API_TOKEN
|
||||||
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from typing import Any
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from common import create_user, update_user
|
from ..common import create_user, update_user
|
||||||
from configs import INVALID_API_TOKEN
|
from configs import INVALID_API_TOKEN
|
||||||
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
from libs.auth import RAGFlowHttpApiAuth, RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from typing import Any
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from common import create_user, list_users
|
from ..common import create_user, list_users
|
||||||
from libs.auth import RAGFlowWebApiAuth
|
from libs.auth import RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ from typing import Any
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from common import create_user, list_users
|
from ..common import create_user, list_users
|
||||||
from libs.auth import RAGFlowWebApiAuth
|
from libs.auth import RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ from typing import Any
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from common import create_user
|
from ..common import create_user
|
||||||
from libs.auth import RAGFlowWebApiAuth
|
from libs.auth import RAGFlowWebApiAuth
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue