Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Skip ssl check#149

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
demonolock wants to merge15 commits intomasterfromskip-ssl-check
Closed
Changes from1 commit
Commits
Show all changes
15 commits
Select commitHold shift + click to select a range
1b10a54
Add ability to skip ssl when connect to PostgresNode
Nov 1, 2024
104a127
Don't reserve a new port if port was set up
Nov 1, 2024
19ef23f
Fix flake8 style
Nov 18, 2024
43c91c0
Fix test_the_same_port
Nov 18, 2024
1e8d912
Fix failed test_ports_management
Nov 18, 2024
f1d28b4
Add env variable TESTGRES_SKIP_SSL
Nov 18, 2024
e729c2f
Fix sys.modules instead globals
Nov 18, 2024
dc4b4c3
Move _get_ssl_options in separate function
Nov 18, 2024
547081e
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 4, 2024
fb6205d
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 6, 2024
67f23a7
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 8, 2024
b67ae42
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 10, 2024
be972e0
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 10, 2024
0781132
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 10, 2024
fa6d751
[BUG FIX] TestgresRemoteTests.test_safe_psql__expect_error is corrected
dmitry-lipetskDec 24, 2024
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
PrevPrevious commit
NextNext commit
Add env variable TESTGRES_SKIP_SSL
  • Loading branch information
vshepard committedNov 18, 2024
commitf1d28b44952a4aa1cf6eff4b0e1e4761b35e89c9
7 changes: 5 additions & 2 deletionstestgres/operations/os_ops.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
import getpass
import locale
import os
import sys

try:
Expand All@@ -12,15 +13,17 @@


class ConnectionParams:
def __init__(self, host='127.0.0.1', port=None, ssh_key=None, username=None, remote=False, skip_ssl=False):
def __init__(self, host='127.0.0.1', port=None, ssh_key=None, username=None, remote=False, skip_ssl=None):
"""
skip_ssl: if is True, the connection is established without SSL.
skip_ssl: if is True, the connectionto databaseis established without SSL.
"""
self.remote = remote
self.host = host
self.port = port
self.ssh_key = ssh_key
self.username = username
if skip_ssl is None:
skip_ssl = os.getenv("TESTGRES_SKIP_SSL", False)
self.skip_ssl = skip_ssl


Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp