Merge "Fixing upload_tempest_test_suite.py"
This commit is contained in:
commit
c56b4674a6
|
@ -13,29 +13,31 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from joblib import Parallel, delayed
|
from joblib import Parallel, delayed
|
||||||
|
|
||||||
from settings import TestRailSettings
|
from settings import TestRailSettings
|
||||||
from testrail_client import TestRailProject
|
from testrail_client import TestRailProject
|
||||||
|
|
||||||
|
|
||||||
TEST_GROUPS = ["API", "CLI", "Scenario", "ThirdParty"]
|
TEST_GROUPS = ["API", "CLI", "Scenario", "ThirdParty"]
|
||||||
TEST_SECTIONS = ["Nova", "Glance", "Heat", "Sahara", "Ceilometer", "Cinder",
|
TEST_SECTIONS = ["Ceilometer", "Cinder", "Glance", "Heat", "Ironic",
|
||||||
"Network", "Keystone", "Object_storage", "Ironic", "Other"]
|
"Keystone", "Network", "Nova", "Sahara", "Swift", "Other"]
|
||||||
|
|
||||||
|
|
||||||
def generate_groups(line):
|
def generate_groups(line):
|
||||||
section = "Other"
|
section = "Other"
|
||||||
|
|
||||||
for group in [{"names": [".compute.", ], "tag": "Nova"},
|
for group in [{"names": [".telemetry.", ], "tag": "Ceilometer"},
|
||||||
|
{"names": [".volume.", ], "tag": "Cinder"},
|
||||||
{"names": [".image.", ], "tag": "Glance"},
|
{"names": [".image.", ], "tag": "Glance"},
|
||||||
{"names": [".orchestration.", ], "tag": "Heat"},
|
{"names": [".orchestration.", ], "tag": "Heat"},
|
||||||
{"names": [".baremetal.", ], "tag": "Ironic"},
|
{"names": [".baremetal.", ], "tag": "Ironic"},
|
||||||
|
{"names": [".identity.", ], "tag": "Keystone"},
|
||||||
|
{"names": [".network.", ], "tag": "Network"},
|
||||||
|
{"names": [".compute.", ], "tag": "Nova"},
|
||||||
{"names": [".data_processing.", ], "tag": "Sahara"},
|
{"names": [".data_processing.", ], "tag": "Sahara"},
|
||||||
{"names": ["identity", "tenant", "auth", "account",
|
{"names": [".object_storage.", ], "tag": "Swift"}]:
|
||||||
"credentials"],
|
|
||||||
"tag": "Keystone"},
|
|
||||||
{"names": [".telemetry.", ], "tag": "Ceilometer"},
|
|
||||||
{"names": [".volume.", ], "tag": "Cinder"}]:
|
|
||||||
for name in group["names"]:
|
for name in group["names"]:
|
||||||
if name in line:
|
if name in line:
|
||||||
section = group["tag"]
|
section = group["tag"]
|
||||||
|
|
Loading…
Reference in New Issue