Skip to content

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

Description

@YijunXieMS

#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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Event Hubshelp wantedThis issue is tracking work for which community contributions would be welcomed and appreciated

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions