Bug 34551 - Test CLI tool import_group, import_networks, import_printer, import_router
Test CLI tool import_group, import_networks, import_printer, import_router
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Stefan Gohmann
Depends on:
  Show dependency treegraph
Reported: 2014-04-15 10:06 CEST by Sönke Schwardt-Krummrich
Modified: 2015-01-23 14:42 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2014-04-15 10:06:43 CEST
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.
Comment 1 Stefan Gohmann univentionstaff 2014-05-10 23:27:02 CEST
Group and network tests have been added: r50117 + r50118
Comment 2 Stefan Gohmann univentionstaff 2014-05-11 14:54:33 CEST
Printer and router tests have been added: r50122 + r50123
Comment 3 Stefan Gohmann univentionstaff 2014-05-12 07:23:27 CEST
Some cleanups: r50125

The python-api import can be added in the method _run_import_via_python_api() in the particular class.