MCPcopy Create free account
hub / github.com/FDio/vpp / setUpClass

Method setUpClass

test/test_interface_crud.py:28–36  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

26
27 @classmethod
28 def setUpClass(cls):
29 super(TestLoopbackInterfaceCRUD, cls).setUpClass()
30 try:
31 cls.create_pg_interfaces(range(1))
32 for i in cls.pg_interfaces:
33 i.config_ip4().resolve_arp()
34 except:
35 cls.tearDownClass()
36 raise
37
38 @classmethod
39 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 4

create_pg_interfacesMethod · 0.80
resolve_arpMethod · 0.45
config_ip4Method · 0.45
tearDownClassMethod · 0.45

Tested by

no test coverage detected