We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c000c commit 726edc7Copy full SHA for 726edc7
testgres/node.py
@@ -441,7 +441,14 @@ def logs_dir(self):
441
@property
442
def data_dir(self):
443
# NOTE: we can't run initdb without user's args
444
- return os.path.join(self.base_dir, DATA_DIR)
+ if hasattr(self, '_data_dir'):
445
+ return self._data_dir
446
+ else:
447
+ return os.path.join(self.base_dir, DATA_DIR)
448
+
449
+ @data_dir.setter
450
+ def data_dir(self, value):
451
+ self._data_dir = value
452
453
454
def utils_log_file(self):
0 commit comments