def test_class_is_really_imported(self): TenantSettingsHelper = import_class( 'shared_schema_tenants.helpers.tenant_settings.TenantSettingsHelper' ) self.assertEqual(TenantSettingsHelper.__name__, 'TenantSettingsHelper')
def get_serializer_class(self): return import_class(get_setting('TENANT_SITE_SERIALIZER'))