Skip to content

Commit ea2f481

Browse files
committed
Skip test_connection_ssl_to_no_ssl_server when testing against a remote server.
1 parent a0481cc commit ea2f481

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_connect.py

+1
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ def check():
460460
with check():
461461
await self.con.reset()
462462

463+
@unittest.skipIf(os.environ.get('PGHOST'), 'unmanaged cluster')
463464
async def test_connection_ssl_to_no_ssl_server(self):
464465
ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
465466
ssl_context.load_verify_locations(SSL_CA_CERT_FILE)

0 commit comments

Comments
 (0)