Skip to content
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

Port last integration tests to python #2966

Merged
merged 6 commits into from
Apr 16, 2024
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
add note of asserting using test script that is mounted in sentry dir…
…ectory
  • Loading branch information
hubertdeng123 committed Apr 16, 2024
commit 2c7fd2a1e05aff393cf06c3316abf536033e955e
3 changes: 2 additions & 1 deletion _integration-test/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_cleanup_crons_running():
assert len(cleanup_crons) > 0


def test_custom_cas():
def test_custom_certificate_authorities():
# Set environment variable
os.environ["COMPOSE_FILE"] = (
"docker-compose.yml:_integration-test/custom-ca-roots/docker-compose.test.yml"
Expand Down Expand Up @@ -309,6 +309,7 @@ def test_custom_cas():
encryption_algorithm=serialization.NoEncryption(),
)
)
# Our asserts for this test case must be executed within the web container, so we are copying a python test script into the mounted sentry directory
with open(fake_test_cert_path, "wb") as cert_file:
cert_file.write(fake_test_cert.public_bytes(serialization.Encoding.PEM))
shutil.copyfile(
Expand Down
Loading