Skip to content

Commit

Permalink
BI-4163: fix: i18n configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsds committed Dec 12, 2023
1 parent 1843961 commit bbd8acd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
GreenplumSubselectCoreSourceDefinition,
GreenplumTableCoreSourceDefinition,
)
from dl_connector_postgresql.api.i18n.localizer import CONFIGS as BI_CONNECTOR_POSTGRESQL_CONFIGS
from dl_connector_postgresql.formula.constants import DIALECT_NAME_POSTGRESQL


Expand Down Expand Up @@ -50,4 +51,4 @@ class GreenplumApiConnector(ApiConnector):
GreenplumApiSubselectSourceDefinition,
)
formula_dialect_name = DIALECT_NAME_POSTGRESQL
translation_configs = frozenset(CONFIGS)
translation_configs = frozenset(CONFIGS) | frozenset(BI_CONNECTOR_POSTGRESQL_CONFIGS)
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

from dl_connector_greenplum.api.connection_form.form_config import GreenplumConnectionFormFactory
from dl_connector_greenplum.api.i18n.localizer import CONFIGS as BI_CONNECTOR_GREENPLUM_CONFIGS
from dl_connector_postgresql.api.i18n.localizer import CONFIGS as BI_CONNECTOR_POSTGRESQL_CONFIGS


class TestGreenplumConnectionForm(ConnectionFormTestBase):
CONN_FORM_FACTORY_CLS = GreenplumConnectionFormFactory
TRANSLATION_CONFIGS = BI_API_CONNECTOR_CONFIGS + BI_CONNECTOR_GREENPLUM_CONFIGS
TRANSLATION_CONFIGS = BI_API_CONNECTOR_CONFIGS + BI_CONNECTOR_GREENPLUM_CONFIGS + BI_CONNECTOR_POSTGRESQL_CONFIGS

0 comments on commit bbd8acd

Please sign in to comment.