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

Method assert_error_counter_equal

test/asf/asfframework.py:1041–1043  ·  view source on GitHub ↗
(self, counter, expected_value)

Source from the content-addressed store, hash-verified

1039 return counter_value
1040
1041 def assert_error_counter_equal(self, counter, expected_value):
1042 counter_value = self.statistics[counter].sum()
1043 self.assert_equal(counter_value, expected_value, "error counter `%s'" % counter)
1044
1045 def assert_counter_in_range(
1046 self, counter, expected_min, expected_max, thread=None, index=0

Callers

nothing calls this directly

Calls 2

assert_equalMethod · 0.95
sumMethod · 0.45

Tested by

no test coverage detected