Overview

Request 915425 accepted

The sed was superfluous, redundant and forgotten.
- added patches
https://github.com/blockdiag/blockdiag/pull/131
+ python-blockdiag-nose-to-pytest.patch


Steve Kowalik's avatar

As an further idea, now that we're using pytest, you could mark the tests requiring the network with a marker and then use %pytest -m 'not network' to skip them


Steve Kowalik's avatar

Since you're patching it anyway, don't bother with that sed, just use https://docs.python.org/3/library/unittest.html#unittest.skip instead of what nose was doing.

Request History
Petr Gajdos's avatar

pgajdos created request

The sed was superfluous, redundant and forgotten.
- added patches
https://github.com/blockdiag/blockdiag/pull/131
+ python-blockdiag-nose-to-pytest.patch


Steve Kowalik's avatar

StevenK accepted request

There is a pytest way to do that testcase expansion as a decorator, but I'm not going to let the enemy of the perfect stop this. Thanks!

openSUSE Build Service is sponsored by