mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-28 03:23:52 -06:00
Fixed test cases for Utilities when default_binary_path is not provided in test_config file.
This commit is contained in:
parent
6bc6bc7f60
commit
2058cdf662
@ -641,6 +641,7 @@ class BackupCreateJobTest(BaseTestGenerator):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if 'default_binary_paths' not in self.server or \
|
if 'default_binary_paths' not in self.server or \
|
||||||
|
self.server['default_binary_paths'] is None or \
|
||||||
self.server['type'] not in self.server['default_binary_paths'] or \
|
self.server['type'] not in self.server['default_binary_paths'] or \
|
||||||
self.server['default_binary_paths'][self.server['type']] == '':
|
self.server['default_binary_paths'][self.server['type']] == '':
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
|
@ -40,6 +40,7 @@ class BackupJobTest(BaseTestGenerator):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if 'default_binary_paths' not in self.server or \
|
if 'default_binary_paths' not in self.server or \
|
||||||
|
self.server['default_binary_paths'] is None or \
|
||||||
self.server['type'] not in self.server['default_binary_paths'] or\
|
self.server['type'] not in self.server['default_binary_paths'] or\
|
||||||
self.server['default_binary_paths'][self.server['type']] == '':
|
self.server['default_binary_paths'][self.server['type']] == '':
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
|
@ -41,6 +41,7 @@ class MaintenanceJobTest(BaseTestGenerator):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if 'default_binary_paths' not in self.server or \
|
if 'default_binary_paths' not in self.server or \
|
||||||
|
self.server['default_binary_paths'] is None or \
|
||||||
self.server['type'] not in self.server['default_binary_paths'] or\
|
self.server['type'] not in self.server['default_binary_paths'] or\
|
||||||
self.server['default_binary_paths'][self.server['type']] == '':
|
self.server['default_binary_paths'][self.server['type']] == '':
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
|
@ -130,6 +130,7 @@ class MaintenanceCreateJobTest(BaseTestGenerator):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if 'default_binary_paths' not in self.server or \
|
if 'default_binary_paths' not in self.server or \
|
||||||
|
self.server['default_binary_paths'] is None or \
|
||||||
self.server['type'] not in self.server['default_binary_paths'] or\
|
self.server['type'] not in self.server['default_binary_paths'] or\
|
||||||
self.server['default_binary_paths'][self.server['type']] == '':
|
self.server['default_binary_paths'][self.server['type']] == '':
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
|
@ -63,6 +63,7 @@ class RestoreJobTest(BaseTestGenerator):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if 'default_binary_paths' not in self.server or \
|
if 'default_binary_paths' not in self.server or \
|
||||||
|
self.server['default_binary_paths'] is None or \
|
||||||
self.server['type'] not in self.server['default_binary_paths'] or\
|
self.server['type'] not in self.server['default_binary_paths'] or\
|
||||||
self.server['default_binary_paths'][self.server['type']] == '':
|
self.server['default_binary_paths'][self.server['type']] == '':
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
|
@ -293,6 +293,7 @@ class RestoreCreateJobTest(BaseTestGenerator):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if 'default_binary_paths' not in self.server or \
|
if 'default_binary_paths' not in self.server or \
|
||||||
|
self.server['default_binary_paths'] is None or \
|
||||||
self.server['type'] not in self.server['default_binary_paths'] or\
|
self.server['type'] not in self.server['default_binary_paths'] or\
|
||||||
self.server['default_binary_paths'][self.server['type']] == '':
|
self.server['default_binary_paths'][self.server['type']] == '':
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
|
Loading…
Reference in New Issue
Block a user