Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 5fcd0588 authored by Magdalena GOMEZ's avatar Magdalena GOMEZ Committed by Diego MENDEZ
Browse files

Define attribute mapping_id

parent 2a3e6b30
Branches
Tags
5 merge requests!133Draft: Rebase v4 firewall,!131Draft: Rebase v4.1,!129Draft: Rebase v4,!125Develop,!121Removed legacy code and refactored mac address plugin and cert plugin tests
......@@ -15,6 +15,8 @@ API_KEY = os.getenv("API_KEY", "only4testingpurpose")
class TestMappingCreation(Base):
"""Test case for Mapping creation class"""
mapping_id = None
def test_that_mapping_is_created(self) -> None:
"""Test that mapping is created"""
......
......@@ -15,6 +15,8 @@ API_KEY = os.getenv("API_KEY", "only4testingpurpose")
class TestMappingProtocols(Base):
"""Test case for Mapping protocols class"""
mapping_id = None
def test_that_mapping_protocols_default_value_is_set(self) -> None:
"""Test that mapping protocols default value is set"""
......
......@@ -15,6 +15,8 @@ API_KEY = os.getenv("API_KEY", "only4testingpurpose")
class TestMappingPropertiesValidation(Base):
"""Test case for Mapping properties validation domain class"""
mapping_id = None
def test_that_gzip_proxied_is_false_by_default(self) -> None:
"""Test that gzip proxied property is false by default"""
response = requests.post(
......
......@@ -17,6 +17,8 @@ API_KEY = os.getenv("API_KEY", "only4testingpurpose")
class TestMappingSorryPage(Base):
"""Test case for Mapping Sorry Page property class"""
mapping_id = None
def test_that_mapping_sorry_page_default_value_is_set(self) -> None:
"""Test that mapping sorry page default value is set"""
......
......@@ -14,6 +14,8 @@ API_KEY = os.getenv("API_KEY", "only4testingpurpose")
class TestMappingUnique(Base):
"""Test case for Mapping is unique class"""
mapping_id = None
def test_that_mapping_is_unique(self) -> None:
"""Test that mapping is unique"""
......
......@@ -15,6 +15,8 @@ API_KEY = os.getenv("API_KEY", "only4testingpurpose")
class TestSamlConfig(Base):
"""Test case for Mapping SAML configuration class"""
mapping_id = None
def test_that_saml_config_is_created(self) -> None:
"""Test that SAML config is created"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment