Total Complexity | 6 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """Integration tests for the package namespace.""" |
||
2 | |||
3 | # pylint: disable=no-self-use,unused-import |
||
4 | |||
5 | |||
6 | def test_top(): |
||
7 | import yorm |
||
8 | assert yorm.bases |
||
9 | assert yorm.types.Integer |
||
10 | assert yorm.types.extended.Markdown |
||
11 | |||
12 | |||
13 | def test_from_top_constants(): |
||
14 | from yorm import UUID |
||
15 | |||
16 | |||
17 | def test_from_top_clases(): |
||
18 | from yorm import Mappable |
||
19 | from yorm import Converter, Container |
||
20 | from yorm import ModelMixin |
||
21 | |||
22 | |||
23 | def test_from_top_decorators(): |
||
24 | from yorm import sync |
||
25 | from yorm import sync_instances |
||
26 | from yorm import sync_object |
||
27 | from yorm import attr |
||
28 | |||
29 | |||
30 | def test_from_top_utilities(): |
||
31 | from yorm import create |
||
32 | from yorm import find |
||
33 | from yorm import match |
||
34 | from yorm import load |
||
35 | from yorm import save |
||
36 | from yorm import delete |
||
37 | |||
38 | |||
39 | def test_from_nested(): |
||
40 | from yorm.types import Integer, Number |
||
41 | from yorm.types.standard import String |
||
42 | from yorm.types.extended import Markdown |
||
43 | from yorm.types.containers import List |
||
44 |