Исправил форматирование кода по PEP8

This commit is contained in:
Leo
2026-07-09 12:59:10 +05:00
parent d0f08abed7
commit becb16f282
6 changed files with 161 additions and 102 deletions
+3
View File
@@ -1,14 +1,17 @@
# test_bot.py
from weather_utils import get_weather_comment
def test_weather_comment_hot():
# Проверяем, что при +30 будет "Жара! ☀️"
assert get_weather_comment(30) == "Жара! ☀️"
def test_weather_comment_cold():
# Проверяем, что при -10 будет "Дубак! ❄️"
assert get_weather_comment(-10) == "Дубак! ❄️"
def test_weather_comment_normal():
# Проверяем промежуточное значение
assert get_weather_comment(15) == "Нормальная погода ☁️"