Skip to content

Commit

Permalink
Remove duplicate language test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Mar 15, 2023
1 parent 1771064 commit ba5a4de
Showing 1 changed file with 0 additions and 10 deletions.
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 ba5a4de

Please sign in to comment.