(self)
| 80 | raise BMObjectAlreadyHaveError() |
| 81 | |
| 82 | def checkObjectByType(self): |
| 83 | if self.objectType == protocol.OBJECT_GETPUBKEY: |
| 84 | self.checkGetpubkey() |
| 85 | elif self.objectType == protocol.OBJECT_PUBKEY: |
| 86 | self.checkPubkey() |
| 87 | elif self.objectType == protocol.OBJECT_MSG: |
| 88 | self.checkMessage() |
| 89 | elif self.objectType == protocol.OBJECT_BROADCAST: |
| 90 | self.checkBroadcast() |
| 91 | # other objects don't require other types of tests |
| 92 | |
| 93 | def checkMessage(self): |
| 94 | return |
no test coverage detected