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

Method setUpClass

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

Source from the content-addressed store, hash-verified

20
21 @classmethod
22 def setUpClass(cls):
23 super(TestSyslog, cls).setUpClass()
24
25 try:
26 (cls.pg0,) = cls.create_pg_interfaces(range(1))
27 cls.pg0.admin_up()
28 cls.pg0.config_ip4()
29 cls.pg0.resolve_arp()
30
31 except Exception:
32 super(TestSyslog, cls).tearDownClass()
33 raise
34
35 @classmethod
36 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected