Commit e9b81d2f authored by Raphaël Hertzog's avatar Raphaël Hertzog

settings: ensure we have a domain in the FQDN

Otherwise some tests will fail when socket.getfqdn() falls back to a
plain hostname.
parent bfbc9601
......@@ -374,6 +374,9 @@ MESSAGE_TAGS = {message_constants.ERROR: 'danger'}
# The fully qualified domain name for the Distro Tracker deployment
DISTRO_TRACKER_FQDN = socket.getfqdn()
if '.' not in DISTRO_TRACKER_FQDN:
# We need a fully qualified name with a domain... at least for the tests.
#: This file is the trusted.gpg main file to hand out to APT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment