diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-11 14:53:31 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-11 15:00:26 +0200 |
| commit | 2e8a2df1fbd4c1d7ee7035dff6484ec5d093c5f1 (patch) | |
| tree | 454aa528f45f4fb15b82e22efbc786824b942469 /lib/imsg-buffer.c | |
| parent | 49dd8e3758979254e74b8bf3480ea8a607f084b8 (diff) | |
tests: fix pytest API "surprise" in skipping tests
pytest.mark.skipif apparently iterates through a class's methods,
applying itself onto the various methods. Now, since we're deriving
from a parent class, the method is actually the same object inherited
from the parent, so the decorator will apply itself on the parent's
testrunning method (test_refout). The result is that any TestRefout
tests after "test_commands.py" will be skipped...
This only became apparent after adding ospf6d/test_lsdb.py; before,
test_commands.py was the last test in the list so it didn't matter...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
