(
self, service: str, platform: Platform, instructions: str = "", msg=None
)
| 41 | """Error raised when a test uses a service but that service is missing.""" |
| 42 | |
| 43 | def __init__( |
| 44 | self, service: str, platform: Platform, instructions: str = "", msg=None |
| 45 | ): |
| 46 | if msg is None: |
| 47 | msg = f"The {service} service does not seem to be running or is not accessible!" |
| 48 | if instructions: |
| 49 | msg += f"\n{instructions}" |
| 50 | super().__init__(msg) |
| 51 | self.service = service |
| 52 | self.platform = platform |
| 53 | self.instructions = instructions |
| 54 | |
| 55 | @classmethod |
| 56 | def generate( |
nothing calls this directly
no outgoing calls
no test coverage detected