def testParallelAttributeError(self):
        """Test ParallelAttributeError message and pickle behavior."""
        err1 = cbuildbot_run.ParallelAttributeError('SomeAttr')
        self._TestException(err1, 'No such parallel run attribute')

        err2 = cbuildbot_run.ParallelAttributeError('SomeAttr', 'SomeBoard',
                                                    'SomeTarget')
        self._TestException(err2,
                            'No such board-specific parallel run attribute')
Beispiel #2
0
 def QueueableException(self):
     return cbuildbot_run.ParallelAttributeError(self.attr)