From 074873351fed04b3d22c3e1a01ae77f38ee157e8 Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Wed, 8 Jan 2025 14:15:26 +0000 Subject: [PATCH] Tidy import in firewall tests --- tests/infrastructure/programs/sre/test_firewall.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/infrastructure/programs/sre/test_firewall.py b/tests/infrastructure/programs/sre/test_firewall.py index 083016ce1b..8dcfba534c 100644 --- a/tests/infrastructure/programs/sre/test_firewall.py +++ b/tests/infrastructure/programs/sre/test_firewall.py @@ -1,7 +1,7 @@ import pulumi import pulumi.runtime -import pytest from pulumi_azure_native import network +from pytest import fixture from data_safe_haven.functions import replace_separators from data_safe_haven.infrastructure.programs.sre.firewall import ( @@ -15,7 +15,7 @@ from data_safe_haven.types import AzureDnsZoneNames -@pytest.fixture +@fixture def sre_monitoring_component( location: str, resource_group_name: str, @@ -48,7 +48,7 @@ def sre_monitoring_component( ) -@pytest.fixture +@fixture def firewall_props_internet_enabled( location: str, resource_group_name: str, @@ -80,7 +80,7 @@ def firewall_props_internet_enabled( ) -@pytest.fixture +@fixture def firewall_props_internet_disabled( location: str, resource_group_name: str,