Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zsomborfoldi committed Nov 29, 2024
1 parent 0cc4f16 commit edb8c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ebl/tests/fragmentarium/test_dtos.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def expected_dto(lemmatized_fragment, has_photo):
"externalNumbers": ExternalNumbersSchema().dump(
lemmatized_fragment.external_numbers
),
"projects": [ResearchProject["CAIC", "aluGeneva", "AMPS"].abbreviation],
"projects": [ResearchProject["CAIC"].abbreviation, ResearchProject["ALU_GENEVA"].abbreviation, ResearchProject["AMPS"].abbreviation],
"archaeology": ArchaeologySchema().dump(lemmatized_fragment.archaeology),
"colophon": ColophonSchema().dump(lemmatized_fragment.colophon),
"authorizedScopes": [],
Expand Down
2 changes: 1 addition & 1 deletion ebl/tests/fragmentarium/test_fragment_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ def test_query_genres(fragment_repository, query, expected):
("CAIC", [0]),
("aluGeneva", [1]),
("AMPS", [2]),
(None, [0, 1]),
(None, [0, 1, 2]),
],
)
def test_query_project(fragment_repository, query, expected):
Expand Down

0 comments on commit edb8c0c

Please sign in to comment.