Actions
action #126590
closed[qe-core] loading tests in Python is broken when using YAML
Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2023-03-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Sprint:
QE-Core: April Sprint 23 (Apr 05 - May 03)
Description
TL;DR, we need to know whether it's a PM or a Python test:
What we are missing here is first to check whether the file is perl or python, if the file exists then load it
sub loadtest {
my ($test, %args) = @_;
croak "extensions are not allowed here '$test'" if $test =~ /\.pm$/;
autotest::loadtest("tests/$test.pm", %args);
}
Actions