mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Ensure that when '--pkg resql' is provided then only RESQL test cases should run.
2) Fixed the RESQL test cases for Sequences. #5810
This commit is contained in:
@@ -68,13 +68,11 @@ class TestsGeneratorRegistry(ABCMeta):
|
||||
all_modules = []
|
||||
|
||||
try:
|
||||
for module_name in find_modules(pkg_root, True, True):
|
||||
for module_name in find_modules(pkg_root, False, True):
|
||||
if module_name.find(PSYCOPG2) != -1:
|
||||
print("Skipping ", module_name)
|
||||
continue
|
||||
all_modules.append(module_name)
|
||||
TestsGeneratorRegistry._exclude_packages(all_modules,
|
||||
exclude_pkgs)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user