Closed mthaddon closed 8 months ago
Currently we have a number of top level variables in httprequest_lego_provider/dns.py that should be moved for easier testing:
httprequest_lego_provider/dns.py
FILENAME_TEMPLATE = "{domain}.domain" SPLIT_GIT_REPO_URL = GIT_REPO_URL.split("@") REPOSITORY_BASE_URL = "@".join(SPLIT_GIT_REPO_URL[:2]) REPOSITORY_USER = SPLIT_GIT_REPO_URL[0].split("//")[1] REPOSITORY_BRANCH = SPLIT_GIT_REPO_URL[2] if len(SPLIT_GIT_REPO_URL) > 2 else None RECORD_CONTENT = "{record} 600 IN TXT \042{value}\042\n"
Enhancement Proposal
Currently we have a number of top level variables in
httprequest_lego_provider/dns.py
that should be moved for easier testing: