Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
szachovy committed Oct 1, 2024
1 parent 5516b79 commit f5b38a6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/testsuite/roles/testing/files/functional_superset.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ def __init__(self, superset_container: str, virtual_ip_address: str) -> None:
def login_to_superset_api(self) -> str | AssertionError:
headers: str = "Content-Type: application/json"
payload: str = f'{{"username": "superset", "password": "cluster", "provider": "db", "refresh": true}}'
#server_certificate: bytes = self.run_command_on_the_container(f"echo quit | openssl s_client -showcerts -servername {self.virtual_ip_address} -connect {self.virtual_ip_address}:443 > /app/server_certificate.pem")
#assert self.find_in_the_output(server_certificate, b'"DONE"'), f'Could not get certificate from the server at {self.virtual_ip_address}:443'
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
Expand Down

0 comments on commit f5b38a6

Please sign in to comment.