summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_commands.py
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2017-02-03 16:58:58 +0100
committerChristian Franke <chris@opensourcerouting.org>2017-02-08 19:10:10 +0100
commita4b74d05fca0ff19c04cc2fef432d5fde9469c45 (patch)
treeb916b421e52f230883c18cb9bd3c91e0a00ba8d1 /tests/lib/cli/test_commands.py
parentca49a76b022c1e493b0d1fc15b8479dcb45ed73c (diff)
tests: add pytest testrunners
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_commands.py')
-rw-r--r--tests/lib/cli/test_commands.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/cli/test_commands.py b/tests/lib/cli/test_commands.py
new file mode 100644
index 0000000000..85e34fa15b
--- /dev/null
+++ b/tests/lib/cli/test_commands.py
@@ -0,0 +1,8 @@
+import frrtest
+import pytest
+import os
+
+@pytest.mark.skipif('QUAGGA_TEST_COMMANDS' not in os.environ,
+ reason='QUAGGA_TEST_COMMANDS not set')
+class TestCommands(frrtest.TestRefOut):
+ program = './test_commands'