Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vvmruder committed Jun 16, 2023
1 parent 06da807 commit 00a2804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/interfaces/oerebkrmtrsfr/v2_0/test_generators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from geolink2oereb.lib.interfaces.oerebkrmtrsfr.v2_0.classes import LocalisationCH_V1_MultilingualText
from geolink2oereb.lib.interfaces.oerebkrmtrsfr.v2_0.classes import TitelType
from geolink2oereb.lib.interfaces.oerebkrmtrsfr.v2_0.generators import multilingual_text_from_dict


def test_multilingual_text_from_dict():
result = multilingual_text_from_dict({'de': 'Hallo', 'en': 'Hello'})
assert isinstance(result, LocalisationCH_V1_MultilingualText)
assert isinstance(result, TitelType)

0 comments on commit 00a2804

Please sign in to comment.