chore: set default webapp title to minishop

This commit is contained in:
3252a8
2026-05-27 07:22:34 +03:00
parent f2c0a9f6d5
commit 77c8785ec0
3 changed files with 12 additions and 2 deletions
+10
View File
@@ -32,6 +32,16 @@ class SettingsTests(unittest.TestCase):
self.assertTrue(settings.WEBHOOK_SECRET_TOKEN)
self.assertEqual(settings.WEBAPP_SESSION_TTL_SECONDS, 86400)
def test_webapp_title_defaults_to_minishop(self):
settings = Settings(
_env_file=None,
BOT_TOKEN="token",
POSTGRES_USER="app_user",
POSTGRES_PASSWORD="app_password",
)
self.assertEqual(settings.WEBAPP_TITLE, "/minishop")
def test_subscription_guides_defaults_are_enabled(self):
settings = Settings(
_env_file=None,