#411 Pytest replaces nosetests
Merged by onosek. Opened by onosek.
onosek/fedpkg pytest  into  master

Download 411.patch

Nosetests tool is deprecated. Also tools supporting Python2.6
test-environment are deprecated one by one. So this was removed too.
Pytest tool will run the unit tests. When 'make test' is run, all
neccessary dependencies are installed by pip.

Added 'setuptools_scm' dependency allows to drop MANIFEST.in file.

JIRA: RHELCMP-1565

Signed-off-by: Ondrej Nosek onosek@redhat.com

In general looks good to me. If I recall correctly, in Fedora spec file python setup.py test is called. Will that work or should it be updated?

rebased onto e8772657911e601dba82b3ffe17f482fdcef1338

Yes, code was updated to allow python setup.py test. Similar update [1] was applied to rpkg.

[1] https://pagure.io/rpkg/pull-request/516

Nice! Looks good to me.

Pull-Request has been merged by onosek

Metadata