def test_convert_proj4_to_grid_mapping(proj4str, expected_value):
    """
    test the grid mapping in function _convert_proj4_to_grid_mapping()
    """
    output = _convert_proj4_to_grid_mapping(proj4str)

    assert output == expected_value
test the grid mapping in function _convert_proj4_to_grid_mapping()
pysteps/tests/test_exporters.py