Commit a48f185c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

check if types_tool.type_provider_list is well modified after removing a type provider.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36718 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6799fd0
......@@ -6663,6 +6663,11 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
instance.setSourceReference('OK')
self.assertEquals('OK', instance.getSourceReference())
new_bt.uninstall()
self.assertNotEquals(None, types_tool.getTypeInfo('Base Category'))
self.assertEquals(None, types_tool.getTypeInfo('Dummy Type'))
self.assertFalse('dummy_type_provider' in types_tool.type_provider_list)
def test_global_action(self):
# Tests that global actions are properly exported and reimported
self.portal.portal_actions.addAction(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment