Skip to content

Commit 2593e10

Browse files
s.logvinenkos.logvinenko
s.logvinenko
authored and
s.logvinenko
committed
Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup into cfs
Conflicts: tests/__init__.py
1 parent 269a83c commit 2593e10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/helpers/ptrack_helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import subprocess
55
import shutil
66
import six
7-
from testgres import get_new_node, clean_all
7+
import testgres
88
import hashlib
99
import re
1010
import pwd
@@ -153,7 +153,7 @@ def make_simple_node(
153153
real_base_dir = os.path.join(self.tmp_path, base_dir)
154154
shutil.rmtree(real_base_dir, ignore_errors=True)
155155

156-
node = get_new_node('test', base_dir=real_base_dir)
156+
node = testgres.get_new_node('test', base_dir=real_base_dir)
157157
node.init(initdb_params=initdb_params)
158158

159159
# Sane default parameters, not a shit with fsync = off from testgres
@@ -585,7 +585,7 @@ def get_username(self):
585585
def del_test_dir(self, module_name, fname):
586586
""" Del testdir and optimistically try to del module dir"""
587587
try:
588-
clean_all()
588+
testgres.clean_all()
589589
except:
590590
pass
591591

0 commit comments

Comments
 (0)