Skip to content

Test cli

source module isofit.test.test_cli

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

Functions

  • cwd Path to the working cube example

  • surface Generates the surface.mat file

  • files 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 ]

  • test_apply_oe Executes the isofit apply_oe cli command for various test cases

source cwd(tmp_path_factory)

Path to the working cube example

source surface(cwd)

Generates the surface.mat file

source files(cwd)

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.

source test_apply_oe(files, args, surface)

Executes the isofit apply_oe cli command for various test cases