processing / processing/processing-contributions

Unit tests for scripts/parse_and_validate_properties_txt.py

Open
#84 1 comment 1 reaction 1 assignee View on GitHub

@mingness is already working on this.

Since Sep 9, 2025.

Dominant language
Python
Stars
8
Forks
8
Avg merge
4d 22h
Merged PRs (30d)
3

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.