#4899 Port pagure's test suite to pytest
Merged by pingou. Opened by pingou.
pytest  into  master

Download 4899.patch

This allows to do things like pytest -n 6 tests/ --cov pagure
to run all the tests on 6 cores with coverage.
pytest seems to be faster than nose and pytest is maintained,
unlike nose...

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto 9be3c8c45ae96d5f379af1a1e57d943317633cdb

I think the second run failed because it didn't take into account the changes made to the Dockerfile, I expect they would pass once this PR is merged

rebased onto dd8c69e822c390747c247731924432cb26892d06

Note that the tests of this branch are all passing: https://ci.centos.org/job/pagure-pagure/job/pytest/

:thumbsup:

I'm going to merge this and let's see what jenkins says :)

Pull-Request has been merged by pingou

Metadata