Simulated simplified 'GlobalProcessingClasses` class for testing
(maps_info_table)
| 25 | |
| 26 | |
| 27 | def _get_gpc_sim(maps_info_table): |
| 28 | """Simulated simplified 'GlobalProcessingClasses` class for testing""" |
| 29 | |
| 30 | class SimGlobalProcessingClasses: |
| 31 | def __init__(self): |
| 32 | self.range_table = copy.deepcopy(maps_info_table) |
| 33 | # Selection limit table may be the same |
| 34 | self.limit_table = copy.deepcopy(maps_info_table) |
| 35 | # Show status table |
| 36 | self.show_table = [[_[0], False] for _ in self.range_table] |
| 37 | |
| 38 | def get_maps_info_table(self): |
| 39 | # TODO: implementation needed |
| 40 | return self.range_table, self.limit_table, self.show_table |
| 41 | |
| 42 | return SimGlobalProcessingClasses() |
| 43 | |
| 44 | |
| 45 | # fmt: off |
no test coverage detected