Improve the tests
- The three parameterised test cases have
ids
with spapes and commas:'NOT DEFERRED, NOT WORKFLOW'
,'DEFERRED, NOT WORKFLOW'
,'DEFERRED, WORKFLOW'
and this confusespytest
called with the-k
flag. The spaces and commas can be, in principle, escaped but I could not find how (backslash does not work). After replacing theids
with strings with no commas and spaces (suggestion:'INSTANT'
,'DEFERRED'
,'WORKFLOW'
, respectively), thenpytest -k
works. - All tests in
test_resources.py
are for theWORKFLOW
case and are skipped for the other cases. There should be another fixture to just produce the tests only for theWORKFLOW
case so that the others do not show as skipped.
Edited by Ivan Kondov