Title: Unit tests for scripts/parse_and_validate_properties_txt.py · Issue #84 · processing/processing-contributions · GitHub
Open Graph Title: Unit tests for scripts/parse_and_validate_properties_txt.py · Issue #84 · processing/processing-contributions
X Title: Unit tests for scripts/parse_and_validate_properties_txt.py · Issue #84 · processing/processing-contributions
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...
Open Graph 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, ...
X 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, ...
Opengraph URL: https://github.com/processing/processing-contributions/issues/84
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unit tests for scripts/parse_and_validate_properties_txt.py","articleBody":"This script has pydantic objects with validation - these could be tests for expected behavior.\nThere are also seven functions - \n- `read_properties_txt` makes a request, so this will need to be mocked, and edge cases tests\n- all other functions except for `set_output` and `set_output_error` can be tested with mock data.\n- `set_output` and `set_output_error` don't need to be tested, as these are specific to the github actions\n","author":{"url":"https://github.com/mingness","@type":"Person","name":"mingness"},"datePublished":"2025-06-17T18:29:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/84/processing-contributions/issues/84"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6ea70d93-157f-dd2c-1df4-f41418d33c5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E166:3406D0:785F3A9:9FBD2F7:696DF438 |
| html-safe-nonce | 08787edb556969b7e008fb2af367746b161bc91dc7423cdfd2970cb2e70d5eaa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTY2OjM0MDZEMDo3ODVGM0E5OjlGQkQyRjc6Njk2REY0MzgiLCJ2aXNpdG9yX2lkIjoiNTA5MjgwMzMzMDM2NjYzMzAxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4ffb3b0abf693c83bb337553ac6a1da14ca47eccf57c7166a3adc4d0ea363999 |
| hovercard-subject-tag | issue:3154400679 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing-contributions/84/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83f09dac2cd9cb2d31bd7b0d9c4f9fe935e4e199b3390254aaa44f6626e841c3/processing/processing-contributions/issues/84 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83f09dac2cd9cb2d31bd7b0d9c4f9fe935e4e199b3390254aaa44f6626e841c3/processing/processing-contributions/issues/84 |
| og:image:alt | 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, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mingness |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing-contributions git https://github.com/processing/processing-contributions.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 880326144 |
| octolytics-dimension-repository_nwo | processing/processing-contributions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 880326144 |
| octolytics-dimension-repository_network_root_nwo | processing/processing-contributions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width