dib0 / elro_connects

The ELRO Connects uses a propriety protocol on the local network over UDP. This is the reversed engineered python implementation of the protocol.
MIT License
16 stars 7 forks source link

Problems running tests #36

Open depuits opened 2 years ago

depuits commented 2 years ago

The readme should contain a portion on how to run the tests.

If I am correct you should use following steps:

  1. Install test dependencies pip install -e .[test]
  2. Run the test pytest
  3. Profit

This runs the tests for me but I have currently 2 problems

  1. The test_hub.py keeps hanging and never completes
  2. In test_device.py there are 3 tests failing:

All with the same error

>       device.updated.set = event_set
E       AttributeError: 'Event' object attribute 'set' is read-only

I am currently using python version 3.10.4 not sure if that is the problem?