refactor

2 jobs for feature/occupancymapping-code-rules in 1 minute and 43 seconds (queued for 4 seconds)
latest
Name Stage Failure
failed
linters Test
- exit code: 2

************* Module rabotnikobm.rules.gem_occupancy.get_building_occupancy
rabotnikobm/rules/gem_occupancy/get_building_occupancy.py:55:32: E1120: No value for argument 'sub_group' in constructor call (no-value-for-parameter)
rabotnikobm/rules/gem_occupancy/get_building_occupancy.py:55:32: E1120: No value for argument 'sub_sub_group' in constructor call (no-value-for-parameter)

make: *** [Makefile:2: check] Error 1
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
tests Test
E       AttributeError: 'NoneType' object has no attribute 'group'

rabotnikobm/rules/gem_occupancy/mapping.py:51: AttributeError
=========================== short test summary info ============================
FAILED tests/test_get_gem_occupancy.py::test_overriding_occupancy - Assertion...
FAILED tests/test_get_gem_occupancy.py::test_overriding_occupancy_unknown - A...
==================== 2 failed, 8 passed, 5 skipped in 0.25s ====================
Cleaning up file based variables
ERROR: Job failed: exit code 1