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

Method setUpClass

test/test_mdata.py:17–27  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

15
16 @classmethod
17 def setUpClass(cls):
18 super(TestMdataCli, cls).setUpClass()
19 try:
20 cls.create_pg_interfaces(range(2))
21 for i in cls.pg_interfaces:
22 i.config_ip4()
23 i.resolve_arp()
24 i.admin_up()
25 except Exception:
26 cls.tearDownClass()
27 raise
28
29 @classmethod
30 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected