Thread: pgAdmin 4 commit: Update role and tablespace tests to cleanup properly

pgAdmin 4 commit: Update role and tablespace tests to cleanup properly

From
Dave Page
Date:
Update role and tablespace tests to cleanup properly following a failure.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a4aae4c24587d2b477dcaafe5e6c2f463da3b8c2
Author: Navnath Gadakh <navnath.gadakh@enterprisedb.com>

Modified Files
--------------
.../servers/roles/tests/test_role_add.py           |  58 ++---
.../servers/roles/tests/test_role_delete.py        |  55 ++---
.../servers/roles/tests/test_role_get.py           |  63 ++---
.../servers/roles/tests/test_role_put.py           |  85 +++----
.../server_groups/servers/roles/tests/utils.py     | 194 +++++++--------
.../servers/tablespaces/tests/test_tbspc_add.py    |  76 +++---
.../servers/tablespaces/tests/test_tbspc_delete.py |  70 +++---
.../servers/tablespaces/tests/test_tbspc_get.py    |  87 +++----
.../servers/tablespaces/tests/test_tbspc_put.py    |  99 +++-----
.../servers/tablespaces/tests/utils.py             | 269 ++++++++-------------
web/regression/__init__.py                         |  41 ++--
web/regression/runtests.py                         |  37 +--
web/regression/test_utils.py                       |  88 +++----
13 files changed, 518 insertions(+), 704 deletions(-)