175 create person page (#178)

Created person page and updated search bar in the header to search for persons
This commit is contained in:
KM-R
2023-10-05 18:00:31 +02:00
committed by GitHub
parent bf7c072e87
commit 2152704dfc
16 changed files with 365 additions and 317 deletions

View File

@ -0,0 +1,20 @@
"""Tests for header elements."""
from aki_prj23_transparenzregister.ui import header_elements
def test_import() -> None:
"""Checks if an import co ui_elements can be made."""
assert header_elements is not None
def test_create_header() -> None:
"""Checks if the header can be created."""
options = {1: "a", 2: "b"}
header_elements.create_header(options)
def test_create_selection_header() -> None:
"""Checks if the company header can be created."""
selected_company = "Test GmbH"
header_elements.create_selection_header(selected_company)