from importlib import import_module

from django.test import SimpleTestCase


class LocalizationModuleSmokeTests(SimpleTestCase):
    def test_public_localization_module_imports(self):
        module = import_module("ocyan.plugin.wagtail.localization")

        self.assertTrue(callable(module.localize_internal_path))
        self.assertTrue(callable(module.resolve_page_for_language))
