Re: [pgAdmin4][RM#3790] Adding API tests for utility check route

2018-11-30 Thread Dave Page
Thanks, applied.
On Fri, Nov 30, 2018 at 7:37 AM Murtuza Zabuawala
 wrote:
>
> Hi,
>
> Please ignore the previous patch as some characters got deleted from it, 
> Attached is the updated patch.
>
> On Fri, Nov 30, 2018 at 12:40 PM Murtuza Zabuawala 
>  wrote:
>>
>>  ++ Attaching patch
>>
>>> Hi,
>>>
>>> PFA patch, It will test the route which validates if the respective utility 
>>> file is present or not on user's system.
>>>
>>> python runtests.py --pkg tools.maintenance.tests --exclude feature_tests
>>> python runtests.py --pkg tools.import_export.tests --exclude feature_tests
>>> python runtests.py --pkg tools.restore.tests --exclude feature_tests
>>> python runtests.py --pkg tools.backup.tests --exclude feature_tests
>>>
>>>
>>> --
>>> Regards,
>>> Murtuza Zabuawala
>>> EnterpriseDB: http://www.enterprisedb.com
>>> The Enterprise PostgreSQL Company
>>>


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgAdmin 4 commit: Add API tests for utility check route. Fixes #3790

2018-11-30 Thread Dave Page
Add API tests for utility check route. Fixes #3790

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9a3047c89c42250f53105ec6e29f0dfea4fd9a48
Author: Murtuza Zabuawala 

Modified Files
--
.../test_check_utility_exists_route_backup.py  | 41 ++
web/pgadmin/tools/import_export/tests/__init__.py  |  8 +
...est_check_utility_exists_route_import_export.py | 41 ++
.../test_check_utility_exists_route_maintenance.py | 41 ++
.../test_check_utility_exists_route_restore.py | 41 ++
web/regression/python_test_utils/test_utils.py | 12 +++
6 files changed, 184 insertions(+)