summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_commands.py
AgeCommit message (Collapse)Author
2020-10-07*: reformat python fileswhitespace
We are now using black. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2017-08-28tests: fix & run ZeroMQ testDavid Lamparter
add reference output & run the test with proper libs and such. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-07-11tests: fix pytest API "surprise" in skipping testsDavid Lamparter
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-02-08tests: add pytest testrunnersChristian Franke
Signed-off-by: Christian Franke <chris@opensourcerouting.org>