Skip to content

Commit 1321a8f

Browse files
author
vshepard
committed
Add testgres.plugins to setup
1 parent a5fec7f commit 1321a8f

File tree

6 files changed

+4
-3
lines changed

6 files changed

+4
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
readme = f.read()
2828

2929
setup(
30-
version='1.9.3',
30+
version='1.9.4',
3131
name='testgres',
3232
packages=['testgres', 'testgres.operations', 'testgres.helpers'],
3333
description='Testing utility for PostgreSQL and its extensions',

testgres/plugins/__init__.py

Whitespace-only changes.

testgres/plugins/probackup/__init__.py

Whitespace-only changes.

testgres/plugins/probackup/init_helpers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def __init__(self):
7373
test_env['LC_TIME'] = 'C'
7474
self._test_env = test_env
7575

76-
helpers_path = os.path.dirname(os.path.realpath(__file__))
76+
# Get the directory from which the script was executed
77+
helpers_path = os.getcwd()
7778
self.tests_source_path = os.path.abspath(
7879
os.path.join(helpers_path, os.pardir)
7980
)

testgres/plugins/probackup/storage/__init__.py

Whitespace-only changes.

testgres/plugins/probackup/storage/fs_backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
import shutil
66

7-
from plugins.probackup.init_helpers import init_params
7+
from testgres.plugins.probackup.init_helpers import init_params
88

99

1010
class TestBackupDir:

0 commit comments

Comments
 (0)