Skip to content

test(integration): replace tenant details with placeholders in test o… - #232

Open
rsmanasa-google wants to merge 1 commit into
chore/requirements-filefrom
test/integration-redaction
Open

rsmanasa-google wants to merge 1 commit into
chore/requirements-filefrom
test/integration-redaction

Conversation

@rsmanasa-google

Copy link
Copy Markdown
Collaborator

Second in the series that adds live integration tests for the Migration Planner. Builds on the requirements.txt pull request.
The integration tests will run on a public repository, where anyone can read the CI logs. This adds a helper that replaces the client secret, tenant ID, client ID, tenant name, user and site with placeholders such as , and in anything a test prints, in every form it knows (for example the user's OneDrive address).

Nothing uses the helper yet; the test harness in the next pull request does.
Testing: python3 -m unittest tests.integration.redaction_test
(9 offline tests, no credentials, no network)

…utput

The integration tests will run on a public repository, where anyone can
read the CI logs. This adds the helper that replaces the client secret,
tenant, user and site with placeholders in anything a test prints, with
offline tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant