From e264e8d53075cdd949aecf705a19728565f4f5b5 Mon Sep 17 00:00:00 2001 From: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:56:41 -0700 Subject: [PATCH] Remove duplicate language test cases (#385) * Remove duplicate language test cases * Update alpha workflow to default branch --- .github/workflows/publish_test_build.yml | 2 +- test/test_language.py | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/publish_test_build.yml b/.github/workflows/publish_test_build.yml index ae67994e8..dbc3fb030 100644 --- a/.github/workflows/publish_test_build.yml +++ b/.github/workflows/publish_test_build.yml @@ -10,7 +10,7 @@ on: jobs: publish_alpha_release: - uses: neongeckocom/.github/.github/workflows/publish_alpha_release.yml@FEAT_DatedVersionBump + uses: neongeckocom/.github/.github/workflows/publish_alpha_release.yml@master secrets: inherit with: version_scheme: "dated" diff --git a/test/test_language.py b/test/test_language.py index 07e9975ff..8a453162d 100644 --- a/test/test_language.py +++ b/test/test_language.py @@ -73,16 +73,6 @@ def test_get_language_dir_valid(self): for search, result in resolved_languages.items(): self.assertEqual(get_language_dir(base_dir, search), os.path.join(base_dir, result)) - self.assertEqual(get_language_dir(base_dir, "en-uk"), - os.path.join(base_dir, "en-uk")) - self.assertEqual(get_language_dir(base_dir, "en-au"), - os.path.join(base_dir, "en")) - self.assertEqual(get_language_dir(base_dir, "es-mx"), - os.path.join(base_dir, "es-es")) - self.assertEqual(get_language_dir(base_dir, "es-es"), - os.path.join(base_dir, "es-es")) - self.assertEqual(get_language_dir(base_dir, "es"), - os.path.join(base_dir, "es-es")) def test_get_language_dir_invalid(self): from neon_core.language import get_language_dir