Skip to content

Sync Project class with API spec#3194

Merged
EnricoMi merged 6 commits intoPyGithub:mainfrom
EnricoMi:openapi/update-Project
Feb 14, 2025
Merged

Sync Project class with API spec#3194
EnricoMi merged 6 commits intoPyGithub:mainfrom
EnricoMi:openapi/update-Project

Conversation

@EnricoMi
Copy link
Copy Markdown
Collaborator

Adds the following attributes:

  • organization_permission
  • private

Reworks tests for ProjectCard and ProjectColumn.

- separate out ProjectColumn and ProjectCard test classes
- merged with existing ProjectColumn class
- add testAttributes tests
- remove redundant test data
@EnricoMi EnricoMi force-pushed the openapi/update-Project branch from 693a1ec to 6bcd9b8 Compare February 14, 2025 17:10
@github-actions
Copy link
Copy Markdown

Test Results

    7 files  ±0      7 suites  ±0   4m 16s ⏱️ +4s
  992 tests  - 1    992 ✅  - 1  0 💤 ±0  0 ❌ ±0 
6 944 runs   - 7  6 943 ✅  - 7  1 💤 ±0  0 ❌ ±0 

Results for commit 5be8557. ± Comparison against base commit 882fe44.

This pull request removes 14 and adds 13 tests. Note that renamed tests count towards both.
tests.Project.Project ‑ testCreateCardFromIssue
tests.Project.Project ‑ testCreateCardWithNote
tests.Project.Project ‑ testCreateColumn
tests.Project.Project ‑ testEditCardArchived
tests.Project.Project ‑ testEditCardNote
tests.Project.Project ‑ testEditCardWithoutParameters
tests.Project.Project ‑ testGetAllProjectCards
tests.Project.Project ‑ testGetProject
tests.Project.Project ‑ testGetProjectCardContent
tests.Project.Project ‑ testProjectAttributes
…
tests.Project.Project ‑ testAttributes
tests.ProjectCard.ProjectCard ‑ testAttributes
tests.ProjectCard.ProjectCard ‑ testCreateFromIssue
tests.ProjectCard.ProjectCard ‑ testCreateWithNote
tests.ProjectCard.ProjectCard ‑ testDelete
tests.ProjectCard.ProjectCard ‑ testEditArchived
tests.ProjectCard.ProjectCard ‑ testEditNote
tests.ProjectCard.ProjectCard ‑ testEditWithoutParameters
tests.ProjectCard.ProjectCard ‑ testGetAll
tests.ProjectCard.ProjectCard ‑ testGetContent
…

@EnricoMi EnricoMi merged commit 6ed8396 into PyGithub:main Feb 14, 2025
15 checks passed
@EnricoMi EnricoMi deleted the openapi/update-Project branch February 14, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant