handle unittest failure

This commit is contained in:
Simon 2025-11-02 11:18:49 +07:00
parent 2abcb52a53
commit 62b42af183
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 5 additions and 1 deletions

View File

@ -228,7 +228,11 @@ CORS_EXPOSE_HEADERS = ["X-Start-Timestamp"]
# TA application settings
TA_UPSTREAM = "https://github.com/tubearchivist/tubearchivist"
TA_VERSION = "v0.5.8-unstable"
TA_START = RedisArchivist().get_message_str("STARTTIMESTAMP")
try:
TA_START = RedisArchivist().get_message_str("STARTTIMESTAMP")
except ValueError:
# fails in unittests bootstrap
pass
# API
REST_FRAMEWORK = {