Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 92aaa2af9a7947333831f251edbb35a5b3441924
https://github.com/tribe29/checkmk/commit/92aaa2af9a7947333831f251edbb35a5b…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
A tests-py3/unit/cmk/base/data_sources/test_abstract_data_source.py
A tests-py3/unit/cmk/base/data_sources/test_data_sources.py
R tests-py3/unit/cmk/base/data_sources/test_ipmi.py
A tests-py3/unit/cmk/base/data_sources/test_ipmi_management_board_data_source.py
A tests-py3/unit/cmk/base/data_sources/test_program_data_source.py
A tests-py3/unit/cmk/base/data_sources/test_snmp_data_source.py
A tests-py3/unit/cmk/base/data_sources/test_tcp_data_source.py
R tests-py3/unit/cmk/base/test_data_sources_unit.py
Log Message:
-----------
Group data source tests per module
Before refactoring the data sources, we should have more tests. This
new organization should make it easier to test and modify the data
sources independently.
This patch only moves code around. The only other change is the removal
of the namespaces in order to better identify what is currently tested.
CMK-3742
Change-Id: Ic6291bfe1a4d27729589cd6516eb5d5bebc59347
Commit: ac768fdf9e2b991adf324becde9e32ca028e54b3
https://github.com/tribe29/checkmk/commit/ac768fdf9e2b991adf324becde9e32ca0…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
M tests-py3/unit/cmk/base/data_sources/test_ipmi_management_board_data_source.py
A tests-py3/unit/cmk/base/data_sources/test_piggy_back_data_source.py
M tests-py3/unit/cmk/base/data_sources/test_program_data_source.py
M tests-py3/unit/cmk/base/data_sources/test_snmp_data_source.py
M tests-py3/unit/cmk/base/data_sources/test_tcp_data_source.py
Log Message:
-----------
Add smoke tests for data sources
These tests mostly do not check the behavior of the classes but they
constitute a baseline in which, at least, every data source class is
instantiated once.
The following classes now have tests:
- DSProgramDataSource
- IPMIManagementBoardDataSource
- PiggyBackDataSource
- ProgramDataSource
- SNMPDataSource
- SpecialAgentDataSource
- TCPDataSource
CMK-3742
Change-Id: Ief388c40b10df9fd1d72e26ab97388fa79fb700b
Compare:
https://github.com/tribe29/checkmk/compare/977f450f8a4f...ac768fdf9e2b