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

Method setUpClass

test/test_tracepath.py:16–22  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

14
15 @classmethod
16 def setUpClass(cls):
17 super().setUpClass()
18 cls.create_pg_interfaces(range(2))
19 for i in cls.pg_interfaces:
20 i.admin_up()
21 i.config_ip4()
22 i.resolve_arp()
23
24 @classmethod
25 def tearDownClass(cls):

Callers 1

setUpClassMethod · 0.45

Calls 4

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

Tested by

no test coverage detected