Bug 50589 - New test lib to run UMC based App tests on UCS and your laptop
New test lib to run UMC based App tests on UCS and your laptop
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Dirk Wiesenthal
Johannes Keiser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-04 10:43 CET by Dirk Wiesenthal
Modified: 2023-01-26 11:28 CET (History)
0 users

See Also:
What kind of report is it?: Development Internal
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2019-12-04 10:43:44 CET
We should be able to run umc commands from within the App Tests. E.g., to install further Apps through the App Center.

univention-app would work. But only on UCS. I would like to run the App Test on my laptop.
Comment 1 Dirk Wiesenthal univentionstaff 2019-12-04 15:37:38 CET
Fixed in
  ucs-test 9.0.3-117A~4.4.0.201912041055

New file is univention/appcenter/testing/_umc.py

which is essentially a copy of the file univention-lib with some adjustments as in Bug #50590

In apptest.py there are two new fixtures, "umc" (returning a UMC client instance) and "appcenter" returning a wrapper around the appcenter UMC module.