Title: Add test placement guidance to usethis-python-test skill by Copilot · Pull Request #1898 · usethis-python/usethis-python · GitHub
Open Graph Title: Add test placement guidance to usethis-python-test skill by Copilot · Pull Request #1898 · usethis-python/usethis-python
X Title: Add test placement guidance to usethis-python-test skill by Copilot · Pull Request #1898 · usethis-python/usethis-python
Description: Tests for class methods were being placed in the test file for utilities they use internally, rather than in the test file for the class where the methods are defined — breaking the structural correspondence between source and test files. Changes usethis-python-test skill (v1.3 → v1.4): Adds a new "Test file placement mirrors source file structure" subsection under "Test class organization", establishing that tests for a method on SomeClass in some_module.py belong under TestSomeClass in test_some_module.py, regardless of which internal utilities the method delegates to.
Open Graph Description: Tests for class methods were being placed in the test file for utilities they use internally, rather than in the test file for the class where the methods are defined — breaking the structural corr...
X Description: Tests for class methods were being placed in the test file for utilities they use internally, rather than in the test file for the class where the methods are defined — breaking the structural corr...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1898
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f9f0364f-7017-5739-a9b2-d180e9318eea |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B192:10CEBD:12D3887:19EA2BC:6A4DE436 |
| html-safe-nonce | 1e314bac8e0328094c4e3d27e71471631c7f24bbb3545392b9768f0f9f4b22d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTkyOjEwQ0VCRDoxMkQzODg3OjE5RUEyQkM6NkE0REU0MzYiLCJ2aXNpdG9yX2lkIjoiMTYwNTU5MTI1MDk5OTU2NzQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c6ffa098965ee2cc2ac977fd5791f16bfba6c4ec874513d64500ef02f55dc2b5 |
| hovercard-subject-tag | pull_request:3502818450 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/usethis-python/usethis-python/pull/1898/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Tests for class methods were being placed in the test file for utilities they use internally, rather than in the test file for the class where the methods are defined — breaking the structural corr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width