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

tests.test_CMS   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 2
1
import pytest
2
import os
3
from pathlib import Path
4
from CMS import getconfig
5
6
def test_getconfig():
7
    assert getconfig() != None, 'Config is empty'
8
9
def test_getconfig_locale_not_null():
10
    assert getconfig()['settings']['locale'] != None, 'Locale is not set'