satpy.tests.test_node module

Unit tests for the dependency tree class and dependencies.

class satpy.tests.test_node.FakeCompositor(id)[source]

Bases: object

A fake compositor.

Set up the fake compositor.

class satpy.tests.test_node.TestCompositorNode(methodName='runTest')[source]

Bases: TestCase

Test case for the compositor node object.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Set up the test case.

test_add_optional_nodes()[source]

Test adding optional nodes.

test_add_optional_nodes_twice()[source]

Test adding optional nodes twice.

test_add_required_nodes()[source]

Test adding required nodes.

test_add_required_nodes_twice()[source]

Test adding required nodes twice.

test_compositor_node_init()[source]

Test compositor node initialization.

class satpy.tests.test_node.TestCompositorNodeCopy(methodName='runTest')[source]

Bases: TestCase

Test case for copying a node.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Set up the test case.

test_node_data_is_copied()[source]

Test that the data of the node is copied.

test_node_data_optional_nodes_are_copies()[source]

Test that the optional nodes of the node data are copied.

test_node_data_required_nodes_are_copies()[source]

Test that the required nodes of the node data are copied.