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

chore: add unit test in util package #164

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

googs1025
Copy link
Contributor

What this PR does / why we need it

  • add unit test in util package

Which issue(s) this PR fixes

Fixes # part of #156

Special notes for your reviewer

When I want to write test files for the project, I find that client.go convert.go is not very necessary to write test cases (not sure if it is correct). Because the convert.go code seems to be directly obtained from the k8s package.

Does this PR introduce a user-facing change?

None

@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Sep 14, 2024
@googs1025
Copy link
Contributor Author

/kind cleanup

@InftyAI-Agent InftyAI-Agent added cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Sep 14, 2024
@kerthcet
Copy link
Member

I find that client.go convert.go is not very necessary to write test cases

Absolutely, they're auto-generated.

@kerthcet
Copy link
Member

/lgtm
/approve

Thanks @googs1025 for your efforts.

@InftyAI-Agent InftyAI-Agent added lgtm Looks good to me, indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 18, 2024
@InftyAI-Agent InftyAI-Agent merged commit 7e1fc12 into InftyAI:main Sep 18, 2024
44 checks passed
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. cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants