def test_default_actions(self): from kotti.resources import default_actions, Document from kotti.util import Link default_actions.append(Link('test', u'Test')) assert Document().type_info.edit_links[-1].children[-1].name == 'test'