| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import pytest |
||
| 2 | |||
| 3 | |||
| 4 | @pytest.fixture |
||
| 5 | def data_manager_command_decorator(test_data_manager): |
||
| 6 | return test_data_manager.commands_manager.decorators.data_manager_command |
||
| 7 | |||
| 8 | |||
| 9 | @pytest.fixture |
||
| 10 | def define_command(data_manager_command_decorator): |
||
| 11 | def _define_engine_command(data_manager): |
||
| 12 | pass |
||
| 13 | # from so_magic.data.discretization import |
||
| 14 | # @data_manager_command_decorator() |
||
| 15 | # def discretize_to_intervals_command(_data_manager, datapoints, new_column): |
||
| 16 | return _define_engine_command |
||
| 17 | |||
| 18 | |||
| 19 | def test_discretization_operation(test_data_manager, load_test_data, define_command): |
||
| 20 | load_test_data() |
||
| 21 | define_command(test_data_manager) |
||
| 22 | # discretization_cmd = get_command('discretization') |
||
| 27 |