Skip to content

Add checking enable-nls option in configure #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 3, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename enable_nls() function in ptrack_helpers.p is_nls_enabled()
  • Loading branch information
dlepikhova committed Jun 29, 2022
commit 55d3fa8979ec00eda90e36594a6976ae739d2876
4 changes: 2 additions & 2 deletions tests/helpers/ptrack_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def is_enterprise():
else:
return False

def enable_nls():
def is_nls_enabled():
cmd = [os.environ['PG_CONFIG'], '--configure']

p = subprocess.Popen(
Expand Down Expand Up @@ -160,7 +160,7 @@ def slow_start(self, replica=False):
class ProbackupTest(object):
# Class attributes
enterprise = is_enterprise()
enable_nls = enable_nls()
enable_nls = is_nls_enabled()

def __init__(self, *args, **kwargs):
super(ProbackupTest, self).__init__(*args, **kwargs)
Expand Down