mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Make lint happier
This commit is contained in:
@@ -13,8 +13,8 @@ api_hash = None
|
||||
if not api_id or not api_hash:
|
||||
raise ValueError('Please fill in both your api_id and api_hash.')
|
||||
|
||||
class HigherLevelTests(unittest.TestCase):
|
||||
|
||||
class HigherLevelTests(unittest.TestCase):
|
||||
@staticmethod
|
||||
def test_cdn_download():
|
||||
client = TelegramClient(None, api_id, api_hash)
|
||||
@@ -24,7 +24,7 @@ class HigherLevelTests(unittest.TestCase):
|
||||
try:
|
||||
phone = '+999662' + str(randint(0, 9999)).zfill(4)
|
||||
client.send_code_request(phone)
|
||||
client.sign_up(phone, '22222', 'Test', 'DC')
|
||||
client.sign_up('22222', 'Test', 'DC')
|
||||
|
||||
me = client.get_me()
|
||||
data = os.urandom(2 ** 17)
|
||||
|
Reference in New Issue
Block a user