Skip to content

Conversation

@yati1998
Copy link
Member

@yati1998 yati1998 commented Jan 1, 2026

this commit adds unit test for blackbox
exporter

this commit adds unit test for blackbox
exporter

Signed-off-by: yati1998 <ypadia@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 1, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: yati1998
Once this PR has been reviewed and has the lgtm label, please assign malayparida2000 for approval. For more information see the Code Review Process.

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

Details 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

@yati1998
Copy link
Member Author

yati1998 commented Jan 7, 2026

@malayparida2000 @weirdwiz please take sometime to review the PR

ocsv1 "github.com/red-hat-storage/ocs-operator/api/v4/v1"
"github.com/red-hat-storage/ocs-operator/v4/controllers/defaults"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe assert can be used instead of require, Can you pls check it once. If assert works import of new package will be ignored.

"testing"

securityv1 "github.com/openshift/api/security/v1"
fakeclientset "github.com/openshift/client-go/security/clientset/versioned/fake"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check if this can be ignored and some other package which we are using already can be used?

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.

2 participants