src.domain.entities package

Submodules

src.domain.entities.profession module

This module has definition of the Profession entity

class src.domain.entities.profession.Profession(profession_id: UUID, name: str, description: str)

Bases: object

Definition of the Profession entity

description: str
classmethod from_dict(data)

Convert data from a dictionary

name: str
profession_id: UUID
to_dict()

Convert data into dictionary

src.domain.entities.profession_test module

src.domain.entities.profession_test.test_profession_comparison(fixture_profession_developer)
src.domain.entities.profession_test.test_profession_creation(fixture_profession_developer)
src.domain.entities.profession_test.test_profession_from_dict(fixture_profession_developer)
src.domain.entities.profession_test.test_profession_to_dict(fixture_profession_developer)

Module contents