Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
37 stars 20 forks source link

Fix unit tests for SelectionBase #108

Closed kbabioch closed 1 year ago

kbabioch commented 1 year ago

This addresses issuees with the unit tests of SelectionBase, as they have not been working since the usage of class methods. In order to fix those unit tests a new child class of SelectionBase is required, which sets some codes that are then being evaluated by the test methods, since any class methods don't have access to codes that are being set on a per-instance level.

kbabioch commented 1 year ago

This addresses and closes #107.