Exemple #1
0
 def configure(self):
     if not self.should_succeed:
         raise InvalidRun('mock for invalid configure')
Exemple #2
0
 def configure(self):
     if self._should_fail:
         raise InvalidRun('mock for invalid configure')