| ============================= test session starts ==============================
|
| platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/local/bin/python3.12
|
| cachedir: .pytest_cache
|
| rootdir: /app
|
| configfile: pyproject.toml
|
| plugins: asyncio-0.24.0, mock-3.14.0
|
| asyncio: mode=Mode.AUTO, default_loop_scope=None
|
| collecting ... collected 148 items
|
|
|
| tests/api/test_dht.py::TestDHT::test_model PASSED [ 0%]
|
| tests/api/test_dht.py::TestDHT::test_add_basic PASSED [ 1%]
|
| tests/api/test_dht.py::TestDHT::test_delete_basic PASSED [ 2%]
|
| tests/api/test_dht.py::TestDHT::test_node_get_basic[5-10] PASSED [ 2%]
|
| tests/api/test_dht.py::TestDHT::test_node_get_basic[10-10] PASSED [ 3%]
|
| tests/api/test_dht.py::TestDHT::test_node_get_basic[10-5] PASSED [ 4%]
|
| tests/api/test_dht.py::TestDHTInfohash::test_model PASSED [ 4%]
|
| tests/api/test_dht.py::TestDHTInfohash::test_add_basic PASSED [ 5%]
|
| tests/api/test_proxy.py::TestProxy::test_model PASSED [ 6%]
|
| tests/api/test_proxy.py::TestProxy::test_basic PASSED [ 6%]
|
| tests/api/test_proxy.py::TestProxy::test_invalid_methods[post] PASSED [ 7%]
|
| tests/api/test_proxy.py::TestProxy::test_invalid_methods[patch] PASSED [ 8%]
|
| tests/api/test_proxy.py::TestProxy::test_invalid_methods[put] PASSED [ 8%]
|
| tests/api/test_system.py::TestSystem::test_basic[PingDB] PASSED [ 9%]
|
| tests/api/test_system.py::TestSystem::test_basic[Ping] PASSED [ 10%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[post-PingDB] PASSED [ 10%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[post-Ping] PASSED [ 11%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[post-Time] PASSED [ 12%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[patch-PingDB] PASSED [ 12%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[patch-Ping] PASSED [ 13%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[patch-Time] PASSED [ 14%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[put-PingDB] PASSED [ 14%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[put-Ping] PASSED [ 15%]
|
| tests/api/test_system.py::TestSystem::test_invalid_methods[put-Time] PASSED [ 16%]
|
| tests/api/test_system.py::TestSystem::test_time_enp PASSED [ 16%]
|
| tests/cache/test_cache.py::TestCache::test_base_init[client0] PASSED [ 17%]
|
| tests/cache/test_cache.py::TestCache::test_base_init[client1] PASSED [ 18%]
|
| tests/cache/test_cache.py::TestCache::test_base_init[client2] PASSED [ 18%]
|
| tests/cache/test_cache.py::TestCache::test_empty_get[client0] PASSED [ 19%]
|
| tests/cache/test_cache.py::TestCache::test_empty_get[client1] PASSED [ 20%]
|
| tests/cache/test_cache.py::TestCache::test_empty_get[client2] PASSED [ 20%]
|
| tests/cache/test_cache.py::TestCache::test_empty_llen[client0] PASSED [ 21%]
|
| tests/cache/test_cache.py::TestCache::test_empty_llen[client1] PASSED [ 22%]
|
| tests/cache/test_cache.py::TestCache::test_empty_llen[client2] PASSED [ 22%]
|
| tests/cache/test_cache.py::TestCache::test_empty_delete[client0] PASSED [ 23%]
|
| tests/cache/test_cache.py::TestCache::test_empty_delete[client1] PASSED [ 24%]
|
| tests/cache/test_cache.py::TestCache::test_empty_delete[client2] PASSED [ 25%]
|
| tests/cache/test_cache.py::TestCache::test_empty_flushdb[client0] PASSED [ 25%]
|
| tests/cache/test_cache.py::TestCache::test_empty_flushdb[client1] PASSED [ 26%]
|
| tests/cache/test_cache.py::TestCache::test_empty_flushdb[client2] PASSED [ 27%]
|
| tests/cache/test_cache.py::TestCache::test_empty_keys[client0] PASSED [ 27%]
|
| tests/cache/test_cache.py::TestCache::test_empty_keys[client1] PASSED [ 28%]
|
| tests/cache/test_cache.py::TestCache::test_empty_keys[client2] PASSED [ 29%]
|
| tests/cache/test_cache.py::TestUserActivityListCache::test_user_activity_list_cache[client0] PASSED [ 29%]
|
| tests/cache/test_cache.py::TestUserActivityListCache::test_user_activity_list_cache[client1] PASSED [ 30%]
|
| tests/cache/test_cache.py::TestUserActivityListCache::test_user_activity_list_cache[client2] PASSED [ 31%]
|
| tests/cache/test_cache.py::TestUserSearchListCache::test_user_search_list_cache[client0] PASSED [ 31%]
|
| tests/cache/test_cache.py::TestUserSearchListCache::test_user_search_list_cache[client1] PASSED [ 32%]
|
| tests/cache/test_cache.py::TestUserSearchListCache::test_user_search_list_cache[client2] PASSED [ 33%]
|
| tests/core/test_enums.py::TestEnums::test_enum_properties PASSED [ 33%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[User] PASSED [ 34%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[Torrent] PASSED [ 35%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[TorrentChangelog] PASSED [ 35%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[Proxy] PASSED [ 36%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[RSS] PASSED [ 37%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[ParsedRSS] PASSED [ 37%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[DHT] PASSED [ 38%]
|
| tests/core/test_models.py::TestMixins::test_model_str_hash[DHTInfohash] PASSED [ 39%]
|
| tests/core/test_models.py::TestMixins::test_updated_at_manually PASSED [ 39%]
|
| tests/core/test_models.py::TestDBSession::test_error_async_db_session PASSED [ 40%]
|
| tests/core/test_serializer.py::TestSerializer::test_torrent_file_metadata[1024-1.0 kB] PASSED [ 41%]
|
| tests/core/test_serializer.py::TestSerializer::test_torrent_file_metadata[2097152-2.0 MB] PASSED [ 41%]
|
| tests/core/test_serializer.py::TestSerializer::test_torrent_file_metadata[3221225472-3.0 GB] PASSED [ 42%]
|
| tests/core/test_serializer.py::TestSerializer::test_base_serializers PASSED [ 43%]
|
| tests/core/test_utils.py::TestUtils::test_attempts_generator[1] PASSED [ 43%]
|
| tests/core/test_utils.py::TestUtils::test_attempts_generator[10] PASSED [ 44%]
|
| tests/core/test_utils.py::TestUtils::test_attempts_generator[100] PASSED [ 45%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[ www.Torrenting.com ]] PASSED [ 45%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-www.Torrenting.com] PASSED [ 46%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[YTS.MX]] PASSED [ 47%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[TGx]] PASSED [ 47%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[XvX]] PASSED [ 48%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[SubsPlease]] PASSED [ 49%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[BlackedRaw]] PASSED [ 50%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[rarbg]] PASSED [ 50%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.HDBTHD.com\u3011-[eztv.re]] PASSED [ 51%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[ www.Torrenting.com ]] PASSED [ 52%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-www.Torrenting.com] PASSED [ 52%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[YTS.MX]] PASSED [ 53%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[TGx]] PASSED [ 54%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[XvX]] PASSED [ 54%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[SubsPlease]] PASSED [ 55%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[BlackedRaw]] PASSED [ 56%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[rarbg]] PASSED [ 56%]
|
| tests/core/test_utils.py::TestUtils::test_fix_title_symbols[\u3010word www.DDHDTV.com\u3011-[eztv.re]] PASSED [ 57%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[ www.Torrenting.com ]] PASSED [ 58%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-www.Torrenting.com] PASSED [ 58%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[YTS.MX]] PASSED [ 59%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[TGx]] PASSED [ 60%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[XvX]] PASSED [ 60%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[SubsPlease]] PASSED [ 61%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[BlackedRaw]] PASSED [ 62%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[rarbg]] PASSED [ 62%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.HDBTHD.com\u3011-[eztv.re]] PASSED [ 63%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[ www.Torrenting.com ]] PASSED [ 64%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-www.Torrenting.com] PASSED [ 64%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[YTS.MX]] PASSED [ 65%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[TGx]] PASSED [ 66%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[XvX]] PASSED [ 66%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[SubsPlease]] PASSED [ 67%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[BlackedRaw]] PASSED [ 68%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[rarbg]] PASSED [ 68%]
|
| tests/core/test_utils.py::TestUtils::test_fix_search_field[\u3010word www.DDHDTV.com\u3011-[eztv.re]] PASSED [ 69%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v1_symbols[_] PASSED [ 70%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v1_symbols[*] PASSED [ 70%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v1_symbols[`] PASSED [ 71%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v1_symbols[[] PASSED [ 72%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[_] PASSED [ 72%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[*] PASSED [ 73%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[[] PASSED [ 74%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[]] PASSED [ 75%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[(] PASSED [ 75%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[)] PASSED [ 76%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[~] PASSED [ 77%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[`] PASSED [ 77%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[>] PASSED [ 78%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[#] PASSED [ 79%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[+] PASSED [ 79%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[-] PASSED [ 80%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[=] PASSED [ 81%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[|] PASSED [ 81%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[{] PASSED [ 82%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[}] PASSED [ 83%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[.] PASSED [ 83%]
|
| tests/core/test_utils.py::TestUtils::test_fix_markdown_v2_symbols[!] PASSED [ 84%]
|
| tests/core/test_utils.py::TestUtils::test_fix_html_symbols[&-&] PASSED [ 85%]
|
| tests/core/test_utils.py::TestUtils::test_fix_html_symbols[<-<] PASSED [ 85%]
|
| tests/core/test_utils.py::TestUtils::test_fix_html_symbols[>->] PASSED [ 86%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1-1.00-1] PASSED [ 87%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[100-100.00-2] PASSED [ 87%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[123.44999999999999-123.45-3] PASSED [ 88%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1000-1.00K-4] PASSED [ 89%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1234.0-1.23K-5] PASSED [ 89%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1235.0-1.24K-6] PASSED [ 90%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1000000-1.00M-7] PASSED [ 91%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1000000000-1.00G-8] PASSED [ 91%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1000000000000-1.00T-9] PASSED [ 92%]
|
| tests/core/test_utils.py::TestUtils::test_fbig_num_human_format[1000000000000000-1.00P-10] PASSED [ 93%]
|
| tests/sentry/test_sentry.py::TestSentry::test_sentry_setup PASSED [ 93%]
|
| tests/services/test_aws.py::TestAWS::test_s3_client PASSED [ 94%]
|
| tests/services/test_aws.py::TestAWS::test_sqs_client PASSED [ 95%]
|
| tests/services/test_tg.py::TestTG::test_create_bot PASSED [ 95%]
|
| tests/services/test_tg.py::TestTG::test_download_file PASSED [ 96%]
|
| tests/services/test_tg.py::TestTG::test_send_file[arg0] PASSED [ 97%]
|
| tests/services/test_tg.py::TestTG::test_send_file[arg1] PASSED [ 97%]
|
| tests/services/test_tg.py::TestTG::test_send_notification[HTML] PASSED [ 98%]
|
| tests/services/test_tg.py::TestTG::test_send_notification[Markdown] PASSED [ 99%]
|
| tests/services/test_tg.py::TestTG::test_send_notification[MarkdownV2] PASSED [100%]
|
|
|
| ============================= slowest 10 durations =============================
|
| 0.21s call tests/services/test_aws.py::TestAWS::test_s3_client
|
| 0.10s call tests/core/test_models.py::TestMixins::test_updated_at_manually
|
| 0.09s call tests/services/test_aws.py::TestAWS::test_sqs_client
|
| 0.04s call tests/api/test_dht.py::TestDHT::test_model
|
| 0.04s call tests/api/test_dht.py::TestDHT::test_node_get_basic[10-10]
|
| 0.03s call tests/api/test_dht.py::TestDHT::test_node_get_basic[10-5]
|
| 0.03s call tests/api/test_dht.py::TestDHTInfohash::test_add_basic
|
| 0.03s call tests/api/test_dht.py::TestDHT::test_delete_basic
|
| 0.03s call tests/api/test_dht.py::TestDHT::test_node_get_basic[5-10]
|
| 0.03s call tests/api/test_dht.py::TestDHT::test_add_basic
|
| ======================= 148 passed, 11 warnings in 1.63s =======================
|