diff --git a/tests/test_fetch_doi_mock.py b/tests/test_fetch_doi_mock.py index d63effe..ecdd7b5 100644 --- a/tests/test_fetch_doi_mock.py +++ b/tests/test_fetch_doi_mock.py @@ -97,11 +97,6 @@ def test_subject_mapper(fake_openalex_response): # Extract topics from the OpenAlex response topics = fake_openalex_response.get("topics", []) - # Convert topics to strings - we'll use display_name - topic_names = [] - if topics: - topic_names = [topic.get("display_name") for topic in topics if topic.get("display_name")] - # Get subjects using the class method subjects = SubjectMapper.get_subjects({"topics": topics})