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