Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Standardize controller & baremetal unit test syntax #487

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

Rozzii
Copy link
Member

@Rozzii Rozzii commented Jan 26, 2022

This commit removes:
- unnecessary 'fakeclient' import alias
- unnecessary variable declarations

This commit also replaces the previously used variable name 'c'
with the 'fakeClient' name as it is more descriptive and it is also
used in CAPI.

This commit also breaks up some long lines in order to make them more
readable.

@metal3-io-bot metal3-io-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jan 26, 2022
@Rozzii Rozzii changed the title 🌱 Improve controller + baremetal unit test syntax 🌱 Improve controller & baremetal unit test syntax Jan 26, 2022
@Rozzii
Copy link
Member Author

Rozzii commented Jan 26, 2022

This PR consolidates:
#468
#469
#470
#474
#475
#476

@Rozzii
Copy link
Member Author

Rozzii commented Jan 26, 2022

/test-v1b1-integration

@Rozzii
Copy link
Member Author

Rozzii commented Jan 26, 2022

/cc @macaptain @lentzi90 @kashifest

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 26, 2022
@Rozzii Rozzii changed the title 🌱 Improve controller & baremetal unit test syntax 🌱 Standardize controller & baremetal unit test syntax Jan 26, 2022
@metal3-io-bot metal3-io-bot added the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Jan 27, 2022
This commit removes:
    - unnecessary 'fakeclient' import alias
    - unnecessary variable declarations

This commit also replaces the previously used variable name 'c'
with the 'fakeClient' name as it is more descriptive and it is also
used in CAPI.

This commit also breaks up some long lines in order to make them more
readable.
@metal3-io-bot metal3-io-bot removed the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Jan 31, 2022
@Rozzii
Copy link
Member Author

Rozzii commented Jan 31, 2022

/test-v1b1-integration

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest, lentzi90, macaptain

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Xenwar
Copy link
Member

Xenwar commented Feb 1, 2022

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 1, 2022
@metal3-io-bot metal3-io-bot merged commit ec7af63 into metal3-io:main Feb 1, 2022
@Rozzii Rozzii deleted the syntax_improve_adam branch June 20, 2022 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants