blob: 730d20e1a7913be056b94f68706b7cd90eb35670 [file] [log] [blame]
Daniele Morob8404e82022-02-25 00:17:28 +01001class Policing:
2
3 def __init__(self):
4 self.default = ''
5
6 def CASE1(self, main):
7 main.case("Session level QER")
8 try:
9 from tests.USECASE.SegmentRouting.Policing.dependencies.PolicingTest import \
10 PolicingTest
11 except ImportError as e:
12 main.log.error("Import not found. Exiting the test")
13 main.log.error(e)
14 main.cleanAndExit()
15 test = PolicingTest()
16 test.runTest(
17 main,
18 test_idx=1
19 )
20
21 def CASE2(self, main):
22 main.case("Application level QER")
23 try:
24 from tests.USECASE.SegmentRouting.Policing.dependencies.PolicingTest import \
25 PolicingTest
26 except ImportError as e:
27 main.log.error("Import not found. Exiting the test")
28 main.log.error(e)
29 main.cleanAndExit()
30 test = PolicingTest()
31 test.runTest(
32 main,
33 test_idx=2
34 )