exted empty parameterset check with reason test

This commit is contained in:
Ronny Pfannschmidt 2018-01-26 11:18:50 +01:00
parent 7f83605c81
commit d4c11e58aa
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ def test_parameterset_for_parametrize_marks(testdir, mark):
# normalize to the requested name
mark = 'skip'
assert result_mark.name == mark
assert result_mark.kwargs['reason'].startswith("got empty parameter set ")
if mark == 'xfail':
assert result_mark.kwargs.get('run') is False