We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d9931 commit b16e788Copy full SHA for b16e788
test/chisel2.py
@@ -37,7 +37,8 @@
37
logger.setLevel(int(os.getenv('LOGLEVEL', 0)))
38
39
DIRECTORY = os.getenv('DIRECTORY', 'http://localhost:4001/directory')
40
-ACCEPTABLE_TOS = "https://boulder:4431/terms/v7"
+ACCEPTABLE_TOS = os.getenv('ACCEPTABLE_TOS',"https://boulder:4431/terms/v7")
41
+PORT = os.getenv('PORT', '5002')
42
43
# URLs to control dns-test-srv
44
SET_TXT = "http://localhost:8055/set-txt"
@@ -163,7 +164,7 @@ def cleanup():
163
164
return cleanup
165
166
def do_http_challenges(client, authzs):
- port = 5002
167
+ port = int(PORT)
168
challs = [get_chall(a, challenges.HTTP01) for a in authzs]
169
answers = set([http_01_answer(client, c) for c in challs])
170
server = standalone.HTTP01Server(("", port), answers)
0 commit comments