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

[MAINTENANCE] Test serialization of text, table, and bulleted list rendered_content in ExpectationValidationResult #5438

Conversation

NathanFarmer
Copy link
Contributor

Changes proposed in this pull request:

  • GREAT-911/GREAT-962
  • GREAT-911/GREAT-964
  • GREAT-911/GREAT-965

Definition of Done

  • My code follows the Great Expectations style guide
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added unit tests where applicable and made sure that new and existing tests are passing.
  • I have run any local integration tests and made sure that nothing is broken.

@netlify
Copy link

netlify bot commented Jul 5, 2022

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit e384a43
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/62c45744c713290008dd6280
😎 Deploy Preview https://deploy-preview-5438--niobium-lead-7998.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ghost
Copy link

ghost commented Jul 5, 2022

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

Nathan Farmer added 2 commits July 5, 2022 10:25
…ers-in-validation-result' of github.com:great-expectations/great_expectations into maintenance/GREAT-911/GREAT-962/return-templated-renderers-in-validation-result
@NathanFarmer NathanFarmer marked this pull request as ready for review July 5, 2022 14:28
@NathanFarmer NathanFarmer changed the title [MAINTENANCE] Test return values of text, table, and bulleted list renderers in validation result [MAINTENANCE] Test serialization of text, table, and bulleted list renderers in validation result Jul 5, 2022
@NathanFarmer NathanFarmer changed the title [MAINTENANCE] Test serialization of text, table, and bulleted list renderers in validation result [MAINTENANCE] Test serialization of text, table, and bulleted list rendered_content in ExpectationValidationResult Jul 5, 2022
Comment on lines +20 to +24
pytest.param(
ExpectationConfiguration(
expectation_type="expect_table_row_count_to_equal",
kwargs={"value": 3},
),
Copy link
Member

Choose a reason for hiding this comment

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

Could we give each of these params an id or name so we're able to access them with pytest -k?

Copy link
Member

Choose a reason for hiding this comment

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

I was about to write the same thing 🙇

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added an id to each of the test cases and confirmed it works with pytest -k

@NathanFarmer NathanFarmer enabled auto-merge (squash) July 5, 2022 15:24
@NathanFarmer NathanFarmer merged commit 59e39a1 into develop Jul 5, 2022
@NathanFarmer NathanFarmer deleted the maintenance/GREAT-911/GREAT-962/return-templated-renderers-in-validation-result branch July 5, 2022 15:59
Shinnnyshinshin pushed a commit that referenced this pull request Jul 5, 2022
…eature/GREAT-954/data-assistant-logic-migration

* feature/GREAT-1009/remaining-migration-for-init:
  save_project_config_to_file
  docstrings and type hints
  refactor: remove datasource_name as arg to update_datasource (#5440)
  [MAINTENANCE] Test serialization of text, table, and bulleted list `rendered_content` in `ExpectationValidationResult` (#5438)
  DOC-322 (#5326)
  [FEATURE] Refactor Splitter Testing Modules so as to Make them More General and Add Unit and Integration Tests for "split_on_whole_table" and "split_on_column_value" on SQLite and All Supported Major SQL Backends (#5430)
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.

None yet

3 participants