Coverage report: 89%

Files Functions Classes

coverage.py v7.14.1, created at 2026-06-02 20:25 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
telegram_webapp_auth/__init__.py (no function)   100% 0 0 0   100% 0 0   100%
telegram_webapp_auth/auth.py generate_secret_key   100% 3 0 0   100% 0 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator.__init__   100% 1 0 0   100% 0 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator.__parse_init_data   81% 16 3 0   70% 10 3   77%
telegram_webapp_auth/auth.py TelegramAuthenticator.__parse_json   100% 7 0 0   100% 2 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator.__parse_int   100% 7 0 0   100% 6 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator.__build_data_check_string   100% 1 0 0   100% 0 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator._validate   100% 5 0 0   100% 2 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator.__ed25519_verify   100% 5 0 0   100% 0 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator._check_expiry   75% 8 2 0   100% 4 0   83%
telegram_webapp_auth/auth.py TelegramAuthenticator.__decode_signature   100% 5 0 0   100% 0 0   100%
telegram_webapp_auth/auth.py TelegramAuthenticator.__make_user   71% 7 2 0   100% 2 0   78%
telegram_webapp_auth/auth.py TelegramAuthenticator.__make_chat   15% 13 11 0   25% 4 1   18%
telegram_webapp_auth/auth.py TelegramAuthenticator.__serialize_init_data   82% 11 2 0   100% 2 0   85%
telegram_webapp_auth/auth.py TelegramAuthenticator.validate_third_party   94% 16 1 0   83% 6 1   91%
telegram_webapp_auth/auth.py TelegramAuthenticator.validate   100% 10 0 0   100% 4 0   100%
telegram_webapp_auth/auth.py (no function)   100% 51 0 0   100% 0 0   100%
telegram_webapp_auth/data.py (no function)   100% 43 0 0   100% 0 0   100%
telegram_webapp_auth/errors.py (no function)   100% 6 0 0   100% 0 0   100%
Total     90% 215 21 0   83% 42 5   89%

No items found using the specified filter.