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

Method setUpClass

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

Source from the content-addressed store, hash-verified

92
93 @classmethod
94 def setUpClass(cls):
95 super().setUpClass()
96 cls.create_pg_interfaces(range(2))
97 for i in cls.pg_interfaces:
98 i.admin_up()
99 i.config_ip4()
100 i.resolve_arp()
101
102 @classmethod
103 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected