From 3c60bf5e5aebc2edc254794dc7b3403a2ed1e632 Mon Sep 17 00:00:00 2001 From: bohd4nx Date: Wed, 25 Mar 2026 18:22:25 +0200 Subject: [PATCH] feat: add unit tests for search_usernames, search_numbers, and search_gifts methods in FragmentClient --- tests/{013_test_usernames.py => 012_test_usernames.py} | 0 tests/{014_test_numbers.py => 013_test_numbers.py} | 0 tests/{015_test_gifts.py => 014_test_gifts.py} | 0 tests/shared.py | 7 ++++--- 4 files changed, 4 insertions(+), 3 deletions(-) rename tests/{013_test_usernames.py => 012_test_usernames.py} (100%) rename tests/{014_test_numbers.py => 013_test_numbers.py} (100%) rename tests/{015_test_gifts.py => 014_test_gifts.py} (100%) diff --git a/tests/013_test_usernames.py b/tests/012_test_usernames.py similarity index 100% rename from tests/013_test_usernames.py rename to tests/012_test_usernames.py diff --git a/tests/014_test_numbers.py b/tests/013_test_numbers.py similarity index 100% rename from tests/014_test_numbers.py rename to tests/013_test_numbers.py diff --git a/tests/015_test_gifts.py b/tests/014_test_gifts.py similarity index 100% rename from tests/015_test_gifts.py rename to tests/014_test_gifts.py diff --git a/tests/shared.py b/tests/shared.py index ee20584..1ce6be4 100644 --- a/tests/shared.py +++ b/tests/shared.py @@ -1,8 +1,9 @@ """Shared test constants for the pyfragment test suite. -pyfragment is an async Python client for Fragment.com — purchase Telegram Premium -and Stars, run Stars and Premium giveaways for channels, top up TON Ads balance, -and manage anonymous numbers, all through a clean typed API. +pyfragment is an async Python client for the Fragment API — a unified toolkit +to manage Telegram assets: purchase Stars and Premium, top up TON and Ads balances, +run giveaways, manage anonymous numbers, and explore the marketplace for usernames, +numbers, and gifts. """ from typing import Any