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

Add missing snapshots for saved queries #824

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

tlento
Copy link
Contributor

@tlento tlento commented Oct 28, 2023

The new saved query CLI tests rely on snapshot generation, but
the generate snapshot script will not update them and so our engine
tests are difficult to maintain.

This adds the relevant tests to the update list and generates the
associated snapshot files by way of illustrating that everything works.

We might consider moving to a pytest.mark attribute for the modules
and test cases that rely on snapshots, but for the time being the list
of test paths seems fine.

This list was impossible to read through. Now that it's sorted
we can find things.
The new saved query CLI tests rely on snapshot generation, but
the generate snapshot script will not update them and so our engine
tests are difficult to maintain.

This adds the relevant tests to the update list and generates the
associated snapshot files by way of illustrating that everything works.

We might consider moving to a pytest.mark attribute for the modules
and test cases that rely on snapshots, but for the time being the list
of test paths seems fine.
@github-actions
Copy link

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS October 28, 2023 00:51 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS October 28, 2023 00:51 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS October 28, 2023 00:51 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS October 28, 2023 00:51 — with GitHub Actions Inactive
@tlento tlento changed the title update snapshots for saved queries Add missing snapshots for saved queries Oct 28, 2023
Copy link
Contributor

@courtneyholcomb courtneyholcomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@tlento tlento merged commit ccd3711 into main Oct 30, 2023
44 of 46 checks passed
@tlento tlento deleted the update-snapshots-for-saved-queries branch October 30, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants