Improve the test framework to run for multiple classes defined in a single file. Fixes #5071.

This commit is contained in:
Pradip Parkale
2020-01-10 11:48:36 +05:30
committed by Akshay Joshi
parent be4b8284c5
commit ed279cac31
3 changed files with 11 additions and 3 deletions

View File

@@ -150,8 +150,10 @@ def get_suite(module_list, test_server, test_app_client, server_information,
# Get the each test module and add into list
for key, klass in module_list:
gen = klass
modules.append(gen)
# Separate each test class from list of classes and store in modules
for item in klass:
gen = item
modules.append(gen)
# Set the test client to each module & generate the scenarios
for module in modules: