Skip to content

Commit

Permalink
Remove duplicate language test cases (#385)
Browse files Browse the repository at this point in the history
* Remove duplicate language test cases

* Update alpha workflow to default branch
  • Loading branch information
NeonDaniel authored Mar 15, 2023
1 parent 0a2d29e commit e264e8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 0 additions & 10 deletions test/test_language.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e264e8d

Please sign in to comment.