mirror of
https://github.com/remnawave/python-sdk.git
synced 2026-10-20 11:43:32 +00:00
feat: Восстановить тест revoke_user_subscription в test_users.py
This commit is contained in:
parent
93b15cb254
commit
6e90ab89e9
1 changed files with 9 additions and 9 deletions
|
|
@ -121,15 +121,15 @@ async def test_users(remnawave) -> None:
|
|||
assert update_user.description == update_description
|
||||
|
||||
# Temporarily disabled, error in backend
|
||||
# revoke_user_subscription = await remnawave.users.revoke_user_subscription(
|
||||
# uuid=string_uuid,
|
||||
# # body=RevokeUserRequestDto(
|
||||
# # short_uuid="fokfaa"
|
||||
# # )
|
||||
# )
|
||||
# assert isinstance(revoke_user_subscription, UserResponseDto)
|
||||
# assert revoke_user_subscription.uuid == create_user.uuid
|
||||
# assert revoke_user_subscription.short_uuid != create_user.short_uuid
|
||||
revoke_user_subscription = await remnawave.users.revoke_user_subscription(
|
||||
uuid=string_uuid,
|
||||
# body=RevokeUserRequestDto(
|
||||
# short_uuid="fokfaa"
|
||||
# )
|
||||
)
|
||||
assert isinstance(revoke_user_subscription, UserResponseDto)
|
||||
assert revoke_user_subscription.uuid == create_user.uuid
|
||||
assert revoke_user_subscription.short_uuid != create_user.short_uuid
|
||||
|
||||
# Test get user accessible nodes
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue