Definition at line 161 of file menu_config_tests.py.
◆ __init__()
def menu_config_tests.RestrictedCTPIDs.__init__ |
( |
|
self | ) |
|
Definition at line 162 of file menu_config_tests.py.
163 super(RestrictedCTPIDs, self).
__init__(
164 description=
"Less than 512 CTP items, and no CTP id greater than 512")
◆ run()
def menu_config_tests.RestrictedCTPIDs.run |
( |
|
self, |
|
|
|
config |
|
) |
| |
Reimplemented from menu_config_tests.MenuVerification.
Definition at line 166 of file menu_config_tests.py.
166 def run(self, config):
167 ctp_ids = {name: item[
"ctpid"]
for
168 name, item
in config[
"items"].
items()}
169 if len(ctp_ids) > 512:
171 "More than 512 CTP items defined")
172 over_max_ids = [name
for name, ctp_id
in ctp_ids.items()
174 self.failures.
extend(over_max_ids)
◆ description
menu_config_tests.MenuVerification.description |
|
inherited |
◆ failures
menu_config_tests.MenuVerification.failures |
|
inherited |
The documentation for this class was generated from the following file: