mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 07:03:56 +02:00
175 create person page (#178)
Created person page and updated search bar in the header to search for persons
This commit is contained in:
20
tests/ui/header_elements_test.py
Normal file
20
tests/ui/header_elements_test.py
Normal 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)
|
Reference in New Issue
Block a user