mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Moved the feature_tests folder into the regression folder.
This commit is contained in:
@@ -58,7 +58,7 @@ class TestsGeneratorRegistry(ABCMeta):
|
||||
ABCMeta.__init__(self, name, bases, d)
|
||||
|
||||
@classmethod
|
||||
def load_generators(cls, pkg_root, exclude_pkgs, for_modules=[],
|
||||
def load_generators(cls, pkg_args, pkg_root, exclude_pkgs, for_modules=[],
|
||||
is_resql_only=False):
|
||||
|
||||
cls.registry = dict()
|
||||
@@ -71,6 +71,12 @@ class TestsGeneratorRegistry(ABCMeta):
|
||||
# Append reverse engineered test case module
|
||||
all_modules.append('regression.re_sql.tests.test_resql')
|
||||
|
||||
if (pkg_args is None or pkg_args == "all") and \
|
||||
'feature_tests' not in exclude_pkgs:
|
||||
# Append feature tests module
|
||||
all_modules += find_modules(
|
||||
'regression.feature_tests', False, True)
|
||||
|
||||
# If specific modules are to be tested, exclude others
|
||||
# for modules are handled differently for resql
|
||||
if not is_resql_only and len(for_modules) > 0:
|
||||
|
||||
Reference in New Issue
Block a user