Skip to content

Failing tests #299

Open
Open

Description

@tfardet

@tgrandje tests seem to fail consistently with:

FAILED tests/geodata/test_pynsee_geodata.py::test_get_geodata_overseas - ValueError: Could not get department geometries.
FAILED tests/geodata/test_pynsee_geodata.py::test_get_geodata_communes - requests.exceptions.ChunkedEncodingError: Response ended prematurely
FAILED tests/localdata/test_pynsee_localdata.py::TestFunction::test_get_population - requests.exceptions.ChunkedEncodingError: Response ended prematurely

could you have a look (sorry I'm at a conference)

Activity

  1. tgrandje commented on Mar 26, 2026

    @tgrandje
    Collaborator

    I have not seen any unexpected behaviour on my laptop...

    But it is quite long (7'20 for the 3 tests) and http failure (hence the ChunkedEncodingError) is quite likely... There might be room for improvment.

    For a start, I note that test_get_population is not useful anymore : it is only querying a geodata entry (now that IGN added the communal populations to it's ADMINEXPRESS datasets) using an already tested function.

    Regarding test_get_geodata_overseas this could be linked to that other issue #296, I'll check that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions