Add Secret and Variable classes#2623
Conversation
Co-authored-by: Enrico Minack <github@enrico.minack.dev>
Co-authored-by: Enrico Minack <github@enrico.minack.dev>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2623 +/- ##
==========================================
- Coverage 97.72% 97.48% -0.24%
==========================================
Files 132 136 +4
Lines 13568 13745 +177
==========================================
+ Hits 13259 13399 +140
- Misses 309 346 +37 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
Sorry, I mean to move |
Ok. Below the properties right? |
class ...:
others
|
|
@trim21 reordered those methods. Do you have example of a class that one of the properties is a PaginatedList? |
|
@trim21 I think I got it working. Please let me know any feedback so I can go ahead with test cases |
EnricoMi
left a comment
There was a problem hiding this comment.
LGTM!
Ideally, we would have tests for get_secret, get_secrets, create_secrets, get_variable, get_variables and create_variables on Organization and Repository, assert all attributes of Secret, OrganizationSecret and Variable (at least in one test), and call selected_repositories on OrganizationSecret and OrganizationVariable.
Hi! this PR is for adding the Secret and Variable classes. Before I added the variable methods to Organization and Repository but I think is better handling this way. Let me know feedback if this is good so I can start adding test cases. Ty!