academic_observatory_workflows.unpaywall_telescope.tests.test_telescope

Attributes

FIXTURES_FOLDER

Classes

TestUnpaywallTelescope

Module Contents

academic_observatory_workflows.unpaywall_telescope.tests.test_telescope.FIXTURES_FOLDER[source]
class academic_observatory_workflows.unpaywall_telescope.tests.test_telescope.TestUnpaywallTelescope(*args, **kwargs)[source]

Bases: observatory_platform.sandbox.test_utils.SandboxTestCase

dag_id = 'unpaywall'[source]
project_id[source]
data_location[source]
test_dag_structure()[source]

Test that the DAG has the correct structure.

test_dag_load()[source]

Test that workflow can be loaded from a DAG bag.

test_telescope()[source]

Test workflow end to end.

The test files in fixtures/unpaywall have been carefully crafted to make sure that the data is loaded into BigQuery correctly.