def METHOD_NAME(self):
    """
    When C{base.getConfigFileFromTac} raises L{SyntaxError},
    C{checkconfig.checkconfig} return an error.
    """
    mockGetConfig = mock.Mock(spec=base.getConfigFileFromTac,
                              side_effect=SyntaxError)
    self.patch(checkconfig, 'getConfigFileFromTac', mockGetConfig)
    config = {"configFile": '.', "quiet": True}
    self.assertEqual(checkconfig.checkconfig(config), 1)