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

[Event Hubs] Use resource preparer to create test resources #12616

Closed
YijunXieMS opened this issue Jul 20, 2020 · 0 comments
Closed

[Event Hubs] Use resource preparer to create test resources #12616

YijunXieMS opened this issue Jul 20, 2020 · 0 comments
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs help wanted This issue is tracking work for which community contributions would be welcomed and appreciated
Milestone

Comments

@YijunXieMS
Copy link
Contributor

#12429 uses pytest fixture to create resource group, eventhub namespace and eventhubs for the event hubs tests.
It doesn't work with resource preparer, which requires all test methods to be in a subclass of AzureMgmtTestCase, a descendent of unittest.TestCase.

There are two options in the future:

  1. Update event hub tests to be in a subclass of AzureMgmtTestCase.
  2. Make resource preparer to be compatible with pytest fixtures.
@YijunXieMS YijunXieMS added Event Hubs Client This issue points to a problem in the data-plane of the library. help wanted This issue is tracking work for which community contributions would be welcomed and appreciated labels Jul 20, 2020
@YijunXieMS YijunXieMS added this to the Backlog milestone Jul 20, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs help wanted This issue is tracking work for which community contributions would be welcomed and appreciated
Projects
None yet
Development

No branches or pull requests

2 participants