(self)
| 126 | return "unknown" |
| 127 | |
| 128 | def is_primary(self): |
| 129 | if not self.is_redundant(): |
| 130 | return False |
| 131 | if "redundant_state" in self.idata(): |
| 132 | return self.idata()['redundant_state'] == "PRIMARY" |
| 133 | return False |
| 134 | |
| 135 | def set_fault_state(self): |
| 136 | self.idata()['redundant_state'] = "FAULT" |
no test coverage detected