Test suits

This module is used for test purpose.

Each new format or new function should have a test suits.

Classes

class tests.BaseTestOutput

Bases: object

This base class is inherited by all output test modules.

pytest will not run the test here because the class name does not start with “test”.

Child classes must implement a setup fixture, marked as @pytest.fixture.

test_output_format(output_format, setup)