mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-25 06:14:29 +00:00
14 lines
443 B
Python
14 lines
443 B
Python
"""End-to-end integration test: buy 50 Stars for @bohd4nx.
|
|
|
|
Requires cookies.json and a valid .env (API_KEY + SEED).
|
|
Auto-skipped when cookies or config are unavailable (e.g. CI without secrets).
|
|
"""
|
|
|
|
from app.methods.stars import buy_stars
|
|
|
|
|
|
async def test_buy_stars_e2e(cookies, tests_config):
|
|
result = await buy_stars("@bohd4nx", 50)
|
|
assert result["success"] is True, result.get("error")
|
|
assert result["data"]["transaction_id"]
|