Skip to content

Commit

Permalink
Add "Fiktio" to expeced rows.
Browse files Browse the repository at this point in the history
  • Loading branch information
natlibfi-psams committed Oct 18, 2024
1 parent 00f0398 commit e4f9767
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/api/finland/test_loan_excel_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"identifier_type": "URI",
"sort_title": "Silas Marner",
"sort_author": "Eliot, George",
"fiction": "fiction",
"publisher": "Standard Ebooks",
"language": "eng",
"genres": ["Literary Fiction"],
Expand All @@ -35,6 +36,21 @@
"medium": "Book",
"count": 8,
},
{
"identifier": "https://standardebooks.org/ebooks/bertrand-russell/roads-to-freedom",
"identifier_type": "URI",
"sort_title": "Roads to Freedom",
"sort_author": "Russell, Bertrand",
"fiction": "non-fiction",
"publisher": "Standard Ebooks",
"language": "eng",
"genres": ["Philosophy"],
"contributors": ["Russell, Bertrand (Author)"],
"location": None,
"library_name": "Open Access Library",
"medium": "Book",
"count": 2,
},
]


Expand All @@ -60,6 +76,7 @@ def test_export_excel(self):
expected_headers = (
"Tekijä (aakkostus)",
"Nimeke",
"Fiktio",
"Tunniste",
"Tunnisteen tyyppi",
"Kirjasto",
Expand Down

0 comments on commit e4f9767

Please sign in to comment.