fix #368: failed to load .env data in debugtalk.py

This commit is contained in:
httprunner
2018-08-31 16:29:13 +08:00
parent 17e7094bc7
commit 68ce88c09d
2 changed files with 10 additions and 4 deletions

View File

@@ -7,6 +7,8 @@ import time
from tests.api_server import HTTPBIN_SERVER, SECRET_KEY, gen_md5, get_sign
BASE_URL = "http://127.0.0.1:5000"
UserName = os.environ['UserName']
demo_default_request = {
"base_url": "$BASE_URL",