Remnawave_python-sdk/tests
Artem 41389d4205
Refactor SDK for Remnawave API v2.0.0 compatibility
- Updated models and response structures to align with API v2.0.0 specifications.
- Enhanced response handling to support both wrapped and unwrapped API responses.
- Added new controllers for ConfigProfiles, InternalSquads, InfraBilling, and NodesUsageHistory.
- Implemented RootModel patterns for list responses, allowing direct iteration and indexing.
- Updated tests to validate new models and endpoints, ensuring 20 out of 21 tests pass with real API integration.
- Fixed various bugs related to response handling and model validation.
- Documented migration path and breaking changes for users upgrading from v1.x to v2.0.0.
2025-07-01 15:06:07 +02:00
..
.env.test feat: Add models for subscriptions, users, and system statistics 2025-04-21 20:44:27 +02:00
__init__.py feat: Add models for subscriptions, users, and system statistics 2025-04-21 20:44:27 +02:00
conftest.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_auth.py feat: Добавить поддержку OAuth2 Telegram и новые модели для тегов и отзыва пользователей 2025-05-17 15:03:40 +02:00
test_bandwidthstats.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_config_profiles.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_hosts.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_hwid.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_inbounds.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_infra_billing.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_internal_squads.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_keygen.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_nodes.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_nodes_usage_history.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_subscription.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_subscriptions_settings.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_subscriptions_template.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_system.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_users.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
test_users_bulk_actions.py feat: Add models for subscriptions, users, and system statistics 2025-04-21 20:44:27 +02:00
test_users_stats.py Refactor SDK for Remnawave API v2.0.0 compatibility 2025-07-01 15:06:07 +02:00
utils.py feat: Add models for subscriptions, users, and system statistics 2025-04-21 20:44:27 +02:00