Actions
action #132938
openAllow inheritance in python test modules
Start date:
2023-07-18
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
Currently in python tests you are limited to just use code in that one test.
Importing other python modules could at least be made possible, but inheritance is not possible because the python test module cannot be a class, so you can't have an opensusebasetest.py
for example.
While the mapped perl name space inherits from basetest
, the python module has to be a plain module.
Suggestions¶
- The
py_study_package
makes it possible to introspect the python code. We could behave differently whether the module has a class or not
Actions