apache_beam.runners.interactive.testing.mock_env module

Module of mocks to isolated the test environment for each Interactive Beam test.

apache_beam.runners.interactive.testing.mock_env.isolated_env(cls: Type[unittest.case.TestCase])[source]

A class decorator for unittest.TestCase to set up an isolated test environment for Interactive Beam.

apache_beam.runners.interactive.testing.mock_env.mock_create_cluster(self)[source]

Mocks a cluster creation and populates derived fields.