def METHOD_NAME(self):
    config = dict(Extensions=dict(disable_defaults=True, foo='default'))
    with self.assertRaises(exceptions.MooseDocsException) as e:
        _yaml_load_extensions(config)
    self.assertIn("Failed to import the supplied 'foo' module.", str(e.exception))