academic_observatory_workflows.crossref_metadata_telescope.tests.test_crossref_metadata_telescope

Module Contents

Classes

TestCrossrefMetadataTelescope

Tests for the Crossref Metadata telescope

Attributes

FIXTURES_FOLDER

academic_observatory_workflows.crossref_metadata_telescope.tests.test_crossref_metadata_telescope.FIXTURES_FOLDER[source]
class academic_observatory_workflows.crossref_metadata_telescope.tests.test_crossref_metadata_telescope.TestCrossrefMetadataTelescope(*args, **kwargs)[source]

Bases: observatory.platform.observatory_environment.ObservatoryTestCase

Tests for the Crossref Metadata telescope

test_dag_structure()[source]

Test that the DAG has the correct structure.

test_dag_load()[source]

Test that the DAG can be loaded from a DAG bag.

test_telescope()[source]

Test the Crossref Metadata telescope end to end.

test_transform_file()[source]

Test transform_file.

test_transform_item()[source]

Test the cases that transform_item transforms

test_check_release_exists()[source]

Test the ‘check_release_exists’ task with different responses.