def _GetAttributeValue(self, attr, options=None, config=None):
    with mock.patch.object(cbuildbot_run._BuilderRunBase, 'GetVersion') as m:
        m.return_value = self._VERSION
        run = _NewBuilderRun(options, config)
        return getattr(run.GetArchive(), attr)
def _GetAttributeValue(self, attr, options=None, config=None):
    with mock.patch.object(cbuildbot_run._BuilderRunBase, 'GetVersion') as m:
        m.return_value = self._VERSION
        run = _NewBuilderRun(options, config)
        return getattr(run.GetArchive(), attr)