Univention Bugzilla – Bug 34551
Test CLI tool import_group, import_networks, import_printer, import_router
Last modified: 2015-01-23 14:42:44 CET
For refactoring the CLI tools import_group, import_networks, import_printer and import_router all functions should be tested via ucs-test. Currently the tools use their own implementation (which shall be used as reference!).
The upcoming UCS@school import library will provide the same functionality as the import CLI tools and will be used within the CLI tools in near future.
Ideally the test script is able to test the CLI tools as well as the import lib.
Group and network tests have been added: r50117 + r50118
Printer and router tests have been added: r50122 + r50123
Some cleanups: r50125
The python-api import can be added in the method _run_import_via_python_api() in the particular class.