level12 / keg-app-cookiecutter

0 stars 0 forks source link

cli tests fail due to junk output about .flaskenv when run from tox #134

Closed rsyring closed 3 years ago

rsyring commented 3 years ago
_______________________________________________________________________ TestDBCli.test_restore _______________________________________________________________________
Traceback (most recent call last):
  File "/home/rsyring/projects/gb-epr-src/epr/tests/test_cli.py", line 62, in test_restore
    assert 'restore finished\n' == result.output
AssertionError: assert 'restore finished\n' == ' * Tip: Ther...re finished\n'
  -  * Tip: There are .env or .flaskenv files present. Do "pip install python-dotenv" to use them.
    restore finished

There's an environment variable that should be set in tox.ini to silence that output.