def applyAttributes(self, obj, attrs, codec=None):
        if not self._compiled:
            self.compile()

        if self.shortcut_decode:
            if self.is_dict:
                obj.update(attrs)

                return

            if not self.sealed:
                obj.__dict__.update(attrs)

                return

        else:
            attrs = self.getDecodableAttributes(obj, attrs, codec=codec)

        util.set_attrs(obj, attrs)
Just test that all fw have all the API specified.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/alias.py/ClassAlias.applyAttributes--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/south/plugins/async/tests/test_frameworks.py/TestFrameworks.test_api_exists