Update role and tablespace tests to cleanup properly following a failure.

This commit is contained in:
Navnath Gadakh
2016-09-26 14:02:59 +01:00
committed by Dave Page
parent a0a6428e86
commit a4aae4c245
13 changed files with 499 additions and 685 deletions

View File

@@ -6,29 +6,32 @@
# #This software is released under the PostgreSQL Licence
#
# ##########################################################################
import pgadmin.browser.server_groups.servers.roles.tests.utils as roles_utils
import pgadmin.browser.server_groups.servers.tablespaces.tests.utils as \
tablespace_utils
global node_info_dict
node_info_dict = {
"sid": [], # server
"did": [], # database
"lrid": [], # role
"tsid": [], # tablespace
"scid": [], # schema
"tfnid": [], # trigger functions
"coid": [], # collation
"cid": [], # casts
"etid": [], # event_trigger
"eid": [], # extension
"fid": [], # FDW
"fsid": [], # FRS
"umid": [], # user_mapping
"seid": [] # sequence
"sid": [], # server
"did": [], # database
"lrid": [], # role
"tsid": [], # tablespace
"scid": [], # schema
"tfnid": [], # trigger functions
"coid": [], # collation
"cid": [], # casts
"etid": [], # event_trigger
"eid": [], # extension
"fid": [], # FDW
"fsid": [], # FRS
"umid": [], # user_mapping
"seid": [] # sequence
}
global test_server_dict
test_server_dict = {
"server": [],
"database": [],
"tablespace": [],
"role": []
}
"server": [],
"database": [],
"tablespace": [],
"role": []
}