Tests: improving get_application_type() and fixing its name.

This patch also enables multiversion tests running for Java.
This commit is contained in:
Max Romanov
2020-10-28 00:01:46 +03:00
parent f007ad4dcf
commit 6a00bab41e
7 changed files with 14 additions and 28 deletions

View File

@@ -75,7 +75,9 @@ def skip_alert(*alerts):
def pytest_generate_tests(metafunc):
cls = metafunc.cls
if not hasattr(cls, 'application_type'):
if (not hasattr(cls, 'application_type')
or cls.application_type == None
or cls.application_type == 'external'):
return
type = cls.application_type