Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 338 Bytes
import os
import os.path
DEFAULT_LOCATION = os.path.expanduser(os.path.join('~', 'loadtest.auth'))
def read_password(location=DEFAULT_LOCATION):
if os.path.exists(location):
with open(location) as f:
return f.read().strip()
# hard-coded token from zamboni settings_test_vaurien
return 'sqldkjqlskjd34'