Skip Azure tests if the Azure environment variables aren't set
This commit is contained in:
parent
3e5fac69f2
commit
86fc6dc6ff
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ def valid_message():
|
|||
return message
|
||||
|
||||
|
||||
@pytest.mark.skipif(not os.environ.get("AZURE_SUBSCRIPTION_ID"), reason="Azure tests require Azure credentials")
|
||||
class TestConsumer:
|
||||
# pylint: disable=protected-access
|
||||
"""Test class for Consumer."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue