Skip to content

Tests fail on Windows due to missing tzdata package #1260

@denini08

Description

@denini08

What happened?

While running the tests on my Windows machine, I got errors when loading the "Europe/Berlin" timezone.
On Linux this works because Python reads time zone info from the OS, but on Windows it requires the PyPI tzdata package to be installed.

This caused the following tests to fail:

  • tests/microgrid/test_microgrid_api.py::TestMicrogridApi::test_connection_manager
  • tests/microgrid/test_microgrid_api.py::TestMicrogridApi::test_connection_manager_another_method

What did you expect instead?

The tests run and pass.

Affected version(s)

No response

Affected part(s)

Build script, CI, dependencies, etc. (part:tooling)

Extra information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions