Skip to content

test_bmi throws GRASS errors #133

@lrntct

Description

@lrntct
=============================================================== test session starts ===============================================================
platform linux -- Python 3.12.10, pytest-8.3.5, pluggy-1.6.0 -- /home/laurent/software/itzi/.venv/bin/python
cachedir: .pytest_cache
benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=7 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/laurent/software/itzi
configfile: pyproject.toml
plugins: cov-6.2.1, forked-1.6.0, benchmark-5.1.0
collected 29 items                                                                                                                                

tests/test_bmi.py::TestBmi::test_initialize PASSED                                                                                          [  3%]
tests/test_bmi.py::TestBmi::test_update PASSED                                                                                              [  6%]
tests/test_bmi.py::TestBmi::test_update_until PASSED                                                                                        [ 10%]
tests/test_bmi.py::TestBmi::test_finalize PASSED                                                                                            [ 13%]
tests/test_bmi.py::TestBmi::test_get_component_name PASSED                                                                                  [ 17%]
tests/test_bmi.py::TestBmi::test_get_input_item_count ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                [ 20%]
tests/test_bmi.py::TestBmi::test_get_output_item_count PASSED                                                                               [ 24%]
tests/test_bmi.py::TestBmi::test_get_input_var_names PASSED                                                                                 [ 27%]
tests/test_bmi.py::TestBmi::test_get_output_var_names PASSED                                                                                [ 31%]
tests/test_bmi.py::TestBmi::test_time_unit PASSED                                                                                           [ 34%]
tests/test_bmi.py::TestBmi::test_time_step PASSED                                                                                           [ 37%]
tests/test_bmi.py::TestBmi::test_start_time ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                          [ 41%]
tests/test_bmi.py::TestBmi::test_current_time PASSED                                                                                        [ 44%]
tests/test_bmi.py::TestBmi::test_get_var_type ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                        [ 48%]
tests/test_bmi.py::TestBmi::test_get_var_units PASSED                                                                                       [ 51%]
tests/test_bmi.py::TestBmi::test_get_var_nbytes PASSED                                                                                      [ 55%]
tests/test_bmi.py::TestBmi::test_get_var_itemsize ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                    [ 58%]
tests/test_bmi.py::TestBmi::test_get_var_location PASSED                                                                                    [ 62%]
tests/test_bmi.py::TestBmi::test_get_var_grid PASSED                                                                                        [ 65%]
tests/test_bmi.py::TestBmi::test_get_value_ptr PASSED                                                                                       [ 68%]
tests/test_bmi.py::TestBmi::test_get_value PASSED                                                                                           [ 72%]
tests/test_bmi.py::TestBmi::test_get_value_at_indices PASSED                                                                                [ 75%]
tests/test_bmi.py::TestBmi::test_set_value PASSED                                                                                           [ 79%]
tests/test_bmi.py::TestBmi::test_get_grid_rank ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                       [ 82%]
tests/test_bmi.py::TestBmi::test_get_grid_size PASSED                                                                                       [ 86%]
tests/test_bmi.py::TestBmi::test_get_grid_shape PASSED                                                                                      [ 89%]
tests/test_bmi.py::TestBmi::test_get_grid_spacing ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                    [ 93%]
tests/test_bmi.py::TestBmi::test_get_grid_origin PASSED                                                                                     [ 96%]
tests/test_bmi.py::TestBmi::test_get_grid_type ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set
PASSED                                                                                       [100%]

========================================================= 29 passed in 101.41s (0:01:41) ==========================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions