Skip to content

Unit tests for scripts/parse_and_validate_properties_txt.py #84

Description

@mingness

This script has pydantic objects with validation - these could be tests for expected behavior.
There are also seven functions -

  • read_properties_txt makes a request, so this will need to be mocked, and edge cases tests
  • all other functions except for set_output and set_output_error can be tested with mock data.
  • set_output and set_output_error don't need to be tested, as these are specific to the github actions

Activity

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

Metadata

Metadata

Assignees