You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure nose to automatically find test files. This will eliminate the need of importing modules in __init__.py. Prefixing test file names with test_ should do most of the work, (Done in [misc] Python3 support, Github CI and QA Checks #59)
Consider moving some tests inside the package like we do for other modules. This enables users to run or extend tests.
Currently most parts of netengine.backends.snmp.SNMP are not tested directly in tests.snmp.base.TestSNMP but they are tested in tests for AirOS and OpenWrt backend. Do we want to keep it this way or find a way to make tests more modular?
There is lack of proper tests for following methods of netengine.backends.snmp.OpenWRT:
get_interfaces
interfaces_MAC
interfaces_speed
interfaces_state
interfaces_bytes
interfaces_type
interface_addr_and_mask
The above point also applies on netengine.backends.snmp.AirOS
Follow up to #48 / #46
__init__.py
. Prefixing test file names withtest_
should do most of the work, (Done in [misc] Python3 support, Github CI and QA Checks #59).coveragerc
file as done here: https://github.com/openwisp/openwisp-controller/blob/master/.coveragerc (Done in [misc] Python3 support, Github CI and QA Checks #59)Open for discussion
netengine.backends.snmp.SNMP
are not tested directly intests.snmp.base.TestSNMP
but they are tested in tests for AirOS and OpenWrt backend. Do we want to keep it this way or find a way to make tests more modular?netengine.backends.snmp.OpenWRT
:get_interfaces
interfaces_MAC
interfaces_speed
interfaces_state
interfaces_bytes
interfaces_type
interface_addr_and_mask
netengine.backends.snmp.AirOS
The text was updated successfully, but these errors were encountered: