Content-Length: 659 | pFad | http://github.com/interactions-py/interactions.py/pull/1650.diff

thub.com diff --git a/tests/test_bot.py b/tests/test_bot.py index 9e2f8c7c6..c780408ba 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -1,6 +1,7 @@ import asyncio import logging import os +import random from asyncio import AbstractEventLoop from contextlib import suppress from datetime import datetime @@ -75,7 +76,7 @@ async def bot(github_commit) -> Client: gw = asyncio.create_task(bot.start_gateway()) await bot._ready.wait() - bot.suffix = github_commit + bot.suffix = github_commit + " - " + hex(random.randint(0, 255))[2:] log.info(f"Logged in as {bot.user} ({bot.user.id}) -- {bot.suffix}") yield bot








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/interactions-py/interactions.py/pull/1650.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy