def METHOD_NAME(self):
    drun = _make_mock_dockerrun()
    self.assertRaises(ValidationError, dr.validate_dockerrun_v1, drun, False)
    self.assertRaises(ValidationError, dr.validate_dockerrun_v1, drun, True)