Skip to content

Commit 12f1b70

Browse files
committed
Unwrap most unittest test cases to bare functions
1 parent c5fb390 commit 12f1b70

25 files changed

+4410
-4088
lines changed

tests/messages/consts.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
project_dir = os.path.join(data_dir, 'project')
1111
i18n_dir = os.path.join(project_dir, 'i18n')
1212
pot_file = os.path.join(i18n_dir, 'temp.pot')
13+
14+
15+
def get_po_file_path(locale):
16+
return os.path.join(i18n_dir, locale, 'LC_MESSAGES', 'messages.po')

tests/messages/frontend/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)