Test Failed
Push — dev ( da5808...fbd1b1 )
by Andreas
01:08
created

tests.test_w_settings   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
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'