mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix utility route check for Windows.
This commit is contained in:
committed by
Dave Page
parent
851c0cfff3
commit
f4f0fa0e47
@@ -30,7 +30,7 @@ class TestUtilityCheckRouteCase(BaseTestGenerator):
|
||||
]
|
||||
|
||||
def setUp(self):
|
||||
check_binary_path_or_skip_test(self)
|
||||
check_binary_path_or_skip_test(self, 'pg_dump')
|
||||
|
||||
@patch('pgadmin.tools.backup.is_utility_exists')
|
||||
def runTest(self, is_utility_exists_mock):
|
||||
|
@@ -30,7 +30,7 @@ class TestUtilityCheckRouteCase(BaseTestGenerator):
|
||||
]
|
||||
|
||||
def setUp(self):
|
||||
check_binary_path_or_skip_test(self)
|
||||
check_binary_path_or_skip_test(self, 'psql')
|
||||
|
||||
@patch('pgadmin.tools.import_export.is_utility_exists')
|
||||
def runTest(self, is_utility_exists_mock):
|
||||
|
@@ -30,7 +30,7 @@ class TestUtilityCheckRouteCase(BaseTestGenerator):
|
||||
]
|
||||
|
||||
def setUp(self):
|
||||
check_binary_path_or_skip_test(self)
|
||||
check_binary_path_or_skip_test(self, 'psql')
|
||||
|
||||
@patch('pgadmin.tools.maintenance.is_utility_exists')
|
||||
def runTest(self, is_utility_exists_mock):
|
||||
|
@@ -30,7 +30,7 @@ class TestUtilityCheckRouteCase(BaseTestGenerator):
|
||||
]
|
||||
|
||||
def setUp(self):
|
||||
check_binary_path_or_skip_test(self)
|
||||
check_binary_path_or_skip_test(self, 'pg_restore')
|
||||
|
||||
@patch('pgadmin.tools.restore.is_utility_exists')
|
||||
def runTest(self, is_utility_exists_mock):
|
||||
|
Reference in New Issue
Block a user