plone/plone.api — pull request #106 by adamcheasley (2013-05-31 10:09:21+00:00)
Title: do not assume we can acquire getLocallyAllowedTypes

It seems in some test scenarios getLocallyAllowedTypes is not always available. In this case, instead of raising an AttributeError, raise an InvalidParameterError with a helpful error string.