isofit.test.test_cli

These tests are to ensure any changes to the CLI will be backwards compatible.

Attributes

pytestmark

CORES

Functions

cwd(tmp_path_factory)

Path to the working cube example

surface(cwd)

Generates the surface.mat file

files(cwd)

Common data files to be used by multiple tests. The return is a list in the

test_apply_oe(files, args, surface)

Executes the isofit apply_oe cli command for various test cases

Module Contents

pytestmark[source]
CORES[source]
cwd(tmp_path_factory)[source]

Path to the working cube example

surface(cwd)[source]

Generates the surface.mat file

files(cwd)[source]

Common data files to be used by multiple tests. The return is a list in the order: [

0: Radiance file, 1: Location file, 2: Observation file, 3: Output directory

]

As of 07/24/2023 these are from the medium cube example.

test_apply_oe(files, args, surface)[source]

Executes the isofit apply_oe cli command for various test cases