It's been a while since `pytest` command exists (pytest 3.0.0 released in August 2016). From [this](https://docs.pytest.org/en/latest/changelog.html#id760):
> Introduce pytest command as recommended entry point. Note that py.test still works and is not scheduled for removal.
... | ... |
@@ -12,7 +12,7 @@ steps: |
12 | 12 |
|
13 | 13 |
- script: | |
14 | 14 |
source activate adaptive |
15 |
- py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive |
|
15 |
+ pytest --verbose --cov=adaptive --cov-report term --cov-report html adaptive |
|
16 | 16 |
displayName: 'Run the tests' |
17 | 17 |
|
18 | 18 |
- script: | |