Skip to content

Live tests for the Python and asyncio docs code samples - #241

Open
techwritermat wants to merge 15 commits into
masterfrom
docs-snippets-live-tests
Open

techwritermat wants to merge 15 commits into
masterfrom
docs-snippets-live-tests

Add asyncio test objects and update coverage

db4f2b8
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Nov 24, 2026 in 0s

12 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 12
           

Complexity increasing per file
==============================
- tests/conftest.py  4
- tests/live/asyncio/api_reference/test_access_manager.py  13
- tests/live/asyncio/api_reference/test_access_manager_legacy.py  5
- tests/live/asyncio/api_reference/test_access_manager_v2.py  37
- tests/live/asyncio/api_reference/test_channel_groups.py  16
- tests/live/asyncio/api_reference/test_configuration.py  18
- tests/live/asyncio/api_reference/test_file_sharing.py  33
- tests/live/asyncio/api_reference/test_message_actions.py  23
- tests/live/asyncio/api_reference/test_message_persistence.py  48
- tests/live/asyncio/api_reference/test_message_persistence_legacy.py  26
- tests/live/asyncio/api_reference/test_misc.py  5
- tests/live/asyncio/api_reference/test_mobile_push.py  18
- tests/live/asyncio/api_reference/test_presence.py  48
- tests/live/asyncio/api_reference/test_publish.py  19
- tests/live/asyncio/api_reference/test_subscribe.py  50
- tests/live/asyncio/api_reference/test_subscribe_legacy.py  84
- tests/live/cli.py  20
- tests/live/shared/access_manager.py  13
- tests/live/shared/access_manager_v2.py  29
- tests/live/shared/channel_groups.py  5
- tests/live/shared/configuration.py  7
- tests/live/shared/encryption.py  3
- tests/live/shared/file_sharing.py  30
- tests/live/shared/message_actions.py  11
- tests/live/shared/message_persistence.py  27
- tests/live/shared/mobile_push.py  25
- tests/live/shared/objects.py  92
- tests/live/shared/presence.py  26
- tests/live/shared/publish.py  3
- tests/live/shared/subscribe.py  13
- tests/live/support/assertions.py  28
- tests/live/support/cleanup.py  18
- tests/live/support/clients.py  36
- tests/live/support/clients_asyncio.py  10
- tests/live/support/clients_sync.py  9
- tests/live/support/console.py  2
- tests/live/support/docs_check.py  51
- tests/live/support/env.py  34
- tests/live/support/explain.py  14
- tests/live/support/extractor.py  3
- tests/live/support/groups.py  56
- tests/live/support/history.py  18
- tests/live/support/hooks.py  61
- tests/live/support/janitor.py  79
- tests/live/support/lint_markers.py  182
- tests/live/support/lint_selftest.py  21
- tests/live/support/listen.py  16
- tests/live/support/manifest.py  49
- tests/live/support/marks.py  4
- tests/live/support/preflight.py  38
- tests/live/support/redact.py  11
- tests/live/support/resources.py  10
- tests/live/support/retry.py  27
- tests/live/support/snippet_scan.py  78
- tests/live/support/snippets.py  63
- tests/live/support/util.py  6
- tests/live/support/wait.py  21
- tests/live/sync/api_reference/test_access_manager.py  8
- tests/live/sync/api_reference/test_access_manager_legacy.py  2
- tests/live/sync/api_reference/test_access_manager_v2.py  33
- tests/live/sync/api_reference/test_channel_groups.py  9
- tests/live/sync/api_reference/test_configuration.py  14
- tests/live/sync/api_reference/test_encryption.py  19
- tests/live/sync/api_reference/test_file_sharing.py  24
- tests/live/sync/api_reference/test_message_actions.py  17
- tests/live/sync/api_reference/test_message_persistence.py  35
- tests/live/sync/api_reference/test_message_persistence_legacy.py  20
- tests/live/sync/api_reference/test_misc.py  11
- tests/live/sync/api_reference/test_mobile_push.py  9
- tests/live/sync/api_reference/test_objects.py  80
- tests/live/sync/api_reference/test_presence.py  60
- tests/live/sync/api_reference/test_publish.py  19
- tests/live/sync/api_reference/test_subscribe.py  50
- tests/live/sync/api_reference/test_subscribe_legacy.py  81
- tests/live/asyncio/api_reference/test_objects.py  107
         

Clones added
============
- tests/live/asyncio/api_reference/test_access_manager.py  19
- tests/live/asyncio/api_reference/test_access_manager_legacy.py  14
- tests/live/asyncio/api_reference/test_access_manager_v2.py  4
- tests/live/asyncio/api_reference/test_channel_groups.py  2
- tests/live/asyncio/api_reference/test_configuration.py  1
- tests/live/asyncio/api_reference/test_file_sharing.py  1
- tests/live/asyncio/api_reference/test_message_actions.py  4
- tests/live/asyncio/api_reference/test_message_persistence.py  11
- tests/live/asyncio/api_reference/test_message_persistence_legacy.py  4
- tests/live/asyncio/api_reference/test_misc.py  2
- tests/live/asyncio/api_reference/test_mobile_push.py  3
- tests/live/asyncio/api_reference/test_presence.py  5
- tests/live/asyncio/api_reference/test_publish.py  1
- tests/live/asyncio/api_reference/test_subscribe.py  14
- tests/live/asyncio/api_reference/test_subscribe_legacy.py  9
- tests/live/shared/access_manager.py  2
- tests/live/shared/access_manager_v2.py  4
- tests/live/shared/message_persistence.py  2
- tests/live/shared/presence.py  1
- tests/live/shared/subscribe.py  1
- tests/live/sync/api_reference/test_access_manager.py  13
- tests/live/sync/api_reference/test_access_manager_legacy.py  10
- tests/live/sync/api_reference/test_access_manager_v2.py  4
- tests/live/sync/api_reference/test_configuration.py  1
- tests/live/sync/api_reference/test_encryption.py  2
- tests/live/sync/api_reference/test_file_sharing.py  1
- tests/live/sync/api_reference/test_message_actions.py  4
- tests/live/sync/api_reference/test_message_persistence.py  5
- tests/live/sync/api_reference/test_message_persistence_legacy.py  4
- tests/live/sync/api_reference/test_misc.py  6
- tests/live/sync/api_reference/test_mobile_push.py  1
- tests/live/sync/api_reference/test_objects.py  36
- tests/live/sync/api_reference/test_presence.py  7
- tests/live/sync/api_reference/test_publish.py  3
- tests/live/sync/api_reference/test_subscribe.py  13
- tests/live/sync/api_reference/test_subscribe_legacy.py  8
- tests/live/asyncio/api_reference/test_objects.py  36
         

See the complete overview on Codacy