Passed
Push — master ( c88b19...443080 )
by Koen
02:19
created

fixtures.materials   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 8
dl 0
loc 16
rs 10
c 0
b 0
f 0
1
"""
2
Testdata cotaining materials: concrete, glass, metal, silex, ...
3
4
.. versionadded:: 0.2.0
5
"""
6
7
8
from skosprovider.providers import DictionaryProvider
9
from skosprovider.uri import UriPatternGenerator
10
from .materiaal_data import MATERIAALDATA
11
12
materials = DictionaryProvider(
13
    {'id': 'MATERIAL'},
14
    MATERIAALDATA,
15
    uri_generator=UriPatternGenerator('https://id.erfgoed.net/thesauri/materialen/%s')
16
)
17