Alexei Znamensky
6e3a56ffce
encapsulate test function in the helper class ( #7247 )
2023-09-13 00:24:10 +12:00
Alexei Znamensky
bdf8852e8d
test helper: create static methods .from_file() and .from_list() ( #7239 )
...
create static methods .from_file() and .from_list()
2023-09-12 06:42:33 +02:00
Alexei Znamensky
14bc13ba3c
further improvements ( #7192 )
...
* further improvements
* some renaming
2023-09-02 14:26:39 +12:00
Alexei Znamensky
ce6b2bc362
remove extraneous unused constant ( #7185 )
2023-09-01 06:32:31 +02:00
Alexei Znamensky
d6ebba1aea
cmd tests improvement ( #7181 )
...
* cmd tests improvement
* fix sanity
* remove commented line
* fixed class init code
2023-09-01 06:32:11 +02:00
Alexei Znamensky
6303096648
xfconf*: using yaml-specified unit tests ( #7170 )
2023-08-29 21:06:38 +02:00
Alexei Znamensky
8652fd9528
Refactored unit tests for modules based on CmdRunner ( #7154 )
...
* refactored unit tests for modules based on CmdRunner
* improved/fixed test helper
* fixed sanity
* refactored yaml spec out of the python file
* small adjustments
2023-08-29 22:13:52 +12:00
Alexei Znamensky
345a69304a
opkg: fix bug when update_cache=true ( #6119 )
...
* opkg: fix bug when update_cache=true
* add changelog fragment
2023-03-02 07:01:15 +01:00
Alexei Znamensky
682bb4b88a
opkg: refactor module to use StateModuleHelper and CmdRunner ( #5718 )
...
* opkg: refactor module to use StateModuleHelper and CmdRunner
* add changelog fragment
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* generate message outcome as before
* aggregated changes from 5688
* fix package query
* add unit tests
* fix sanity error
* Update plugins/modules/opkg.py
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
* add test for specifying version
* refactor parameter name
Co-authored-by: joergho <48011876+joergho@users.noreply.github.com>
2023-01-12 20:42:38 +01:00