Actions
action #182708
opencoordination #154768: [saga][epic][ux] State-of-art user experience for openQA
coordination #154771: [epic] Improved test developer user experience
Expose basetest and testapi variables as functions / methods
Start date:
2025-05-19
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
When running tests in python, one cannot access testapi
variables like $realname
, $user
or $password
.
Also one cannot call things like self["post_fail_hook_running"]
because these objects are unsubscriptable.
This is also important for other language bindings we might get in the future.
Also it's cleaner in general to use functions / methods instead of exported variables.
-
AC1: All relevant variables from
testapi
are accessible via exported functions -
AC2: All relevant
basetest
object members are accessible via methods
Updated by tinita 14 days ago
- Related to action #162998: Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or anything that is among the top 30 languages and easily integratable size:M added
Updated by tinita 9 days ago
https://github.com/os-autoinst/os-autoinst/pull/2712 Add wrappers for testapi variables
Actions