summaryrefslogtreecommitdiffstats
path: root/test/test_l2bd_arp_term.py
AgeCommit message (Expand)AuthorFilesLines
2019-04-11Tests: Refactor tearDown show command logging, add lifecycle markers.Paul Vinciguerra1-3/+4
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+4
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-3/+4
2019-03-06test framework: vpp_papi_provider.py - further cleanupOle Troan1-5/+2
2019-01-30Use IP and MAC API types for neighborsNeale Ranns1-7/+4
2018-12-18PAPI: Add MACAddress object wrapper for vl_api_mac_address_tOle Troan1-2/+1
2018-12-12PAPI: Allow ipaddress object as argument and return values from API callsOle Troan1-2/+1
2018-12-10Test framework: StringIO fixes for Python3Ole Troan1-2/+2
2018-11-26VPP-1508 python3 tests locals()Paul Vinciguerra1-2/+3
2018-11-06BD ARP entry use common API typesNeale Ranns1-3/+6
2017-09-22IP-MAC,ND:wildcard events,fix sending multiple eventsEyal Bari1-2/+66
2017-09-18L2BD,ARP-TERM:fix arp query report mechanism+testEyal Bari1-3/+79
2017-07-18TEST:add l2bd nd term testsEyal Bari1-6/+119
2017-07-04TEST:add L2BD arp term testsEyal Bari1-0/+239
t">
#!/usr/bin/env python

import unittest

from framework import VppTestCase, VppTestRunner
from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath


class TestSparseVec(VppTestCase):
    """ SparseVec Test Cases """

    @classmethod
    def setUpClass(cls):
        super(TestSparseVec, cls).setUpClass()

    @classmethod
    def tearDownClass(cls):
        super(TestSparseVec, cls).tearDownClass()

    def setUp(self):
        super(TestSparseVec, self).setUp()

    def tearDown(self):
        super(TestSparseVec, self).tearDown()

    def test_string_unittest(self):
        """ SparseVec unit tests """
        error = self.vapi.cli("test sparse_vec")
        if error.find("failed") != -1:
            self.logger.critical("FAILURE in the sparse_vec test")
        self.assertNotIn("failed", error)

if __name__ == '__main__':
    unittest.main(testRunner=VppTestRunner)