summaryrefslogtreecommitdiff
path: root/tests/lib/test_nexthop.py
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-04-07 10:10:13 -0400
committerMark Stapp <mjs@voltanet.io>2021-05-04 15:51:01 -0400
commit403e26cd032ddbc39bb2768c1c811317092d989c (patch)
treeecd639b63b024f16cb27a70ab526bd071e47c037 /tests/lib/test_nexthop.py
parent338ec3b86723f19bc43df9899e345811ad5f80d0 (diff)
tests: add unit test for nexthop comparisons
Add a nexthop unit test module, just exercising the 'basic' comparison api for now. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'tests/lib/test_nexthop.py')
-rw-r--r--tests/lib/test_nexthop.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/test_nexthop.py b/tests/lib/test_nexthop.py
new file mode 100644
index 0000000000..81bfa43ab5
--- /dev/null
+++ b/tests/lib/test_nexthop.py
@@ -0,0 +1,8 @@
+import frrtest
+
+
+class TestNexthopIter(frrtest.TestMultiOut):
+ program = "./test_nexthop"
+
+
+TestNexthopIter.onesimple("Simple test passed.")