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-13 17:43:47 +0100
commitcbbf41cbb3cb8de05f21969dc497412c82573025 (patch)
treefd1edd246f202373e8fec1f6edd5fb4997a18e12 /tests/lib/cli/test_commands.py
parent30c48775607a8b0e277360e7d87a04b5a3356b80 (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'