Skip Azure tests if the Azure environment variables aren't set

This commit is contained in:
Daniel Milnes 2026-04-26 16:18:41 +01:00
commit 86fc6dc6ff
Signed by untrusted user: thebeanogamer
GPG key ID: 1701097BBDD44D1B

View file

@ -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."""