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

Rename test objects to avoid pytest warnings #3823

Merged
merged 1 commit into from
May 6, 2024

Conversation

geetikabatra
Copy link
Contributor

@geetikabatra geetikabatra commented Mar 28, 2024

This PR removes unneccesary warnings

Fixes: #3779

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

  • The OTel specification has changed which prompted this PR to update the method interfaces of opentelemetry-api/ or opentelemetry-sdk/

  • The method interfaces of test/util have changed

  • Scripts in scripts/ that were copied over to the Contrib repo have changed

  • Configuration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in

    • pyproject.toml
    • isort.cfg
    • .flake8
  • When a new .github/CODEOWNER is added

  • Major changes to project information, such as in:

    • README.md
    • CONTRIBUTING.md
  • Yes. - Link to PR:

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@geetikabatra geetikabatra requested a review from a team March 28, 2024 21:39
Copy link

linux-foundation-easycla bot commented Mar 28, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: geetikabatra / name: Geetika Batra (246dc55)

@geetikabatra
Copy link
Contributor Author

I did sign the CLA, the check still fails, don't know why.

@srikanthccv
Copy link
Member

srikanthccv commented Mar 29, 2024

Commits authored by you are not associated with the email. Can you make sure you set the git config email details and open a separate PR?

Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, looks good and fixes the warnings. Not a fan of putting Test as suffix, anyone has a better pattern?

@geetikabatra
Copy link
Contributor Author

@srikanthccv Will create a new PR, @xrmx Any other name that you would like to suggest?

@xrmx
Copy link
Contributor

xrmx commented Apr 2, 2024

@xrmx Any other name that you would like to suggest?

Other tests use the Dummy prefix

@xrmx
Copy link
Contributor

xrmx commented Apr 15, 2024

@geetikabatra Hey, sorted out the CLA?

@geetikabatra
Copy link
Contributor Author

Hey, gimme a couple of days. I am a new mother, so not able to be consistent. Would soon wind this up.

@ocelotl
Copy link
Contributor

ocelotl commented Apr 17, 2024

Nice fix! 😎

@ocelotl ocelotl added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Apr 17, 2024
    This PR removes unneccesary warnings

    Fixes: open-telemetry#3779
@geetikabatra
Copy link
Contributor Author

CLA is fixed now. @srikanthccv and @xrmx.

@ocelotl ocelotl enabled auto-merge (squash) May 6, 2024 16:57
@ocelotl ocelotl merged commit 397e357 into open-telemetry:main May 6, 2024
233 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename test objects to avoid pytest warnings
4 participants