Total Complexity | 1 |
Total Lines | 9 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import os |
||
2 | import pytest |
||
3 | from pathlib import Path |
||
4 | from w_settings import check_langs |
||
5 | |||
6 | def test_getconfig_locales_count(): |
||
7 | nominal_count = len(os.listdir(Path('l10n'))) |
||
8 | assert nominal_count == len(check_langs()), 'Folders with localisations does not equal localisations list' |