Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
vvmruder committed Nov 27, 2023
1 parent 5317f02 commit 567c77c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/core/sources/test_document_oereblex.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ def test_read_related_notice_as_main(oereblex_test_config):
assert isinstance(document.responsible_office, OfficeRecord)
assert document.responsible_office.name == {'de': '-'}
assert document.responsible_office.office_at_web is None
assert source.records[0].responsible_office.office_at_web == {
'de': "http%3A%2F%2Fwww.zihlschlacht-sitterdorf.ch"
}
assert document.published_from == datetime.date(1970, 1, 1)
assert document.index == 40

Expand Down

0 comments on commit 567c77c

Please sign in to comment.