mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -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:
parent
a008f9ba79
commit
55b917f24b
@ -7,7 +7,8 @@ CREATE SEQUENCE IF NOT EXISTS public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
START 5
|
||||
MINVALUE 5
|
||||
MAXVALUE 900
|
||||
CACHE 1;
|
||||
CACHE 1
|
||||
OWNED BY tableforownedby.col2;
|
||||
|
||||
ALTER SEQUENCE public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
OWNER TO postgres;
|
||||
|
@ -1,4 +1,2 @@
|
||||
ALTER SEQUENCE IF EXISTS public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
OWNED BY NONE;
|
||||
ALTER SEQUENCE IF EXISTS public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
MAXVALUE 900;
|
||||
|
@ -7,7 +7,8 @@ CREATE SEQUENCE IF NOT EXISTS public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
START 5
|
||||
MINVALUE 5
|
||||
MAXVALUE 900
|
||||
CACHE 1;
|
||||
CACHE 1
|
||||
OWNED BY tableforownedby.col2;
|
||||
|
||||
ALTER SEQUENCE public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
OWNER TO enterprisedb;
|
||||
|
@ -1,4 +1,2 @@
|
||||
ALTER SEQUENCE IF EXISTS public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
OWNED BY NONE;
|
||||
ALTER SEQUENCE IF EXISTS public."Seq1_$%{}[]()&*^!@""'`\/#"
|
||||
MAXVALUE 900;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user