oaebu_workflows.irus_fulcrum_telescope.tests.test_irus_fulcrum_telescope

Module Contents

Classes

TestIrusFulcrumTelescope

Tests for the Fulcrum telescope

Attributes

FAKE_PUBLISHERS

oaebu_workflows.irus_fulcrum_telescope.tests.test_irus_fulcrum_telescope.FAKE_PUBLISHERS = ['Fake Publisher 1', 'Fake Publisher 2', 'Fake Publisher 3'][source]
class oaebu_workflows.irus_fulcrum_telescope.tests.test_irus_fulcrum_telescope.TestIrusFulcrumTelescope(*args, **kwargs)[source]

Bases: observatory.platform.observatory_environment.ObservatoryTestCase

Tests for the Fulcrum telescope

Constructor which sets up variables used by tests.

Parameters:
  • args – arguments.

  • kwargs – keyword arguments.

test_dag_structure()[source]

Test that the ONIX DAG has the correct structure and raises errors when necessary

test_dag_load()[source]

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

test_telescope()[source]

Test the Fulcrum telescope end to end.

test_download_fulcrum_month_data()[source]

Tests the download_fuclrum_month_data function

test_transform_fulcrum_data()[source]

Tests the transform_fulcrum_data function