Skip to content

Commit

Permalink
set username and password for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deargle committed Apr 9, 2021
1 parent b6269a0 commit d4537a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Expand Up @@ -45,6 +45,8 @@ def experiment_dir(tmpdir, bork_aws_environ, edit_config_file):
import psiturk.setup_example as se
se.setup_example()
os.environ['PSITURK_AD_URL_DOMAIN'] = 'example.com'
os.environ['PSITURK_LOGIN_USERNAME'] = 'foo'
os.environ['PSITURK_LOGIN_PW'] = 'bar'

# the setup script already chdirs into here,
# although I don't like that it does that
Expand Down

0 comments on commit d4537a1

Please sign in to comment.