mirror_frr/tests/lib/cli
David Lamparter 2e8a2df1fb 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>
2017-07-11 15:00:26 +02:00
..
.gitignore *: track version & "defaults" in configs 2017-03-28 19:18:42 +02:00
common_cli.c lib: more show thread cpu 2017-06-29 23:40:56 +00:00
common_cli.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
test_cli.c *: rebase vty_outln() -> master 2017-06-29 17:38:59 +00:00
test_cli.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_cli.py tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
test_cli.refout.in tests: cli: unit test DEFPY() + clidef.py 2017-06-14 19:29:26 +02:00
test_commands.c *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
test_commands.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_commands.py tests: fix pytest API "surprise" in skipping tests 2017-07-11 15:00:26 +02:00
test_commands.refout tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00