Skip to content

Add regression test for guide data archive mode - #484

Open
Mounika-2604 wants to merge 1 commit into
quantumlib:mainfrom
Mounika-2604:fix-420-documentation-tests
Open

Mounika-2604 wants to merge 1 commit into
quantumlib:mainfrom
Mounika-2604:fix-420-documentation-tests

Conversation

@Mounika-2604

Copy link
Copy Markdown

Summary

Adds a regression test for the guide data collection archive handling.

Changes

  • Added a test for fetch_guide_data_collection_data.
  • Verifies that the downloaded .tar.xz archive is opened using r:xz.
  • The test protects against regression to the previous r|xz mode.

Testing

  • pytest recirq/documentation_utils_test.py -v
  • Result: 3 passed

The new test was also verified against the previous r|xz mode and failed as expected.

@google-cla

google-cla Bot commented Sep 28, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Mounika-2604

Copy link
Copy Markdown
Author

Hi, I have added the regression test for the guide data archive mode.
All CI checks are passing and the Google CLA has been completed.
Please review when convenient. Thank you!

@Mounika-2604

Copy link
Copy Markdown
Author

Hi, I’ve made the requested changes and verified the regression test locally.
The test passes with the corrected behavior and fails with the previous implementation as expected.
Please review the PR when convenient. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant