fix tests

fix tests broken by lack of certs
- pytest.ini provides environment variables that load tests/test_certs
This commit is contained in:
Brian Martin 2019-06-07 02:00:42 -04:00
parent d1dffcff0e
commit 422a28cd8d
13 changed files with 134 additions and 28 deletions

View file

@ -5,12 +5,12 @@ Bumper uses pytest for the majority of test cases. Install requirements using `
Enter pipenv shell `pipenv shell`
### Run tests
`python -m pytest`
`python -m pytest tests`
### Run tests with coverage
`python -m pytest --cov=bumper tests/`
`python -m pytest --cov=./ tests`
### Run tests with coverage html report
`python -m pytest --cov=bumper tests/ --cov-report html:tests/report`
`python -m pytest --cov=./ tests --cov-report html:tests/report`
The report will be output into tests/report/index.html for further analysis.