tests package

Subpackages

Submodules

tests.conftest module

Fixtures for testing.

tests.conftest.abs_tolerance()[source]

Fixture for absolute tolerance value.

tests.conftest.make_random_matrix()[source]

Generate a random matrix for use in tests.

The fixture returns a function that can be called to generate a random matrix >>> def my_test(random_matrix): >>> matrix = random_matrix(seed=1234) or use the global seed >>> matrix = random_matrix()

tests.conftest.pytest_configure() None[source]

Configure custom variables for pytest.

NB: pytest automatically calls this hook when the conftest is loaded.

tests.conftest.rel_tolerance()[source]

Fixture for relative tolerance value.

tests.test_import module

tests.test_import.test_null()[source]

Test that should always.

tests.test_scene_renderer_cec2 module

tests.test_scene_renderer_cec2.test_rotation()[source]

Test head rotation code.

Module contents