From 64142b778f06732a0c6b7757c710187c885d4e67 Mon Sep 17 00:00:00 2001 From: Matt Craddock <5796417+craddm@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:33:27 +0000 Subject: [PATCH] Remove service tag related tests for data provider config section --- tests/config/test_config_sections.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/config/test_config_sections.py b/tests/config/test_config_sections.py index 7d9a0ba873..6528b130fa 100644 --- a/tests/config/test_config_sections.py +++ b/tests/config/test_config_sections.py @@ -170,24 +170,6 @@ def test_all_databases_must_be_unique(self) -> None: databases=[DatabaseSystem.POSTGRESQL, DatabaseSystem.POSTGRESQL], ) - def test_data_provider_tag_internet( - self, - config_subsection_remote_desktop: ConfigSubsectionRemoteDesktopOpts, - config_subsection_storage_quota_gb: ConfigSubsectionStorageQuotaGB, - ): - sre_config = ConfigSectionSRE( - admin_email_address="admin@example.com", - remote_desktop=config_subsection_remote_desktop, - storage_quota_gb=config_subsection_storage_quota_gb, - data_provider_ip_addresses="Internet", - ) - assert isinstance(sre_config.data_provider_ip_addresses, AzureServiceTag) - assert sre_config.data_provider_ip_addresses == "Internet" - - def test_data_provider_tag_invalid(self): - with pytest.raises(ValueError, match="Input should be 'Internet'"): - ConfigSectionSRE(data_provider_ip_addresses="Not a tag") - def test_ip_overlap_admin(self): with pytest.raises(ValueError, match="IP addresses must not overlap."): ConfigSectionSRE(