seveas / python-hpilo

Accessing the HP iLO XML interface from python
https://seveas.github.io/python-hpilo
Other
321 stars 102 forks source link

(Debian) how to run tests #272

Open sandrotosi opened 2 years ago

sandrotosi commented 2 years ago

Hello, i'm packaging hpilo/4.4.3 for Debian, and i wanted to run the tests, but i'm not sure exactly how. There is a document at https://github.com/seveas/python-hpilo/blob/main/tests/README which i tried to follow but even just running unittest discover trigger an error because tests/utils.py still has import ConfigParser which is python2-syntax.

I'm wondering if tests have been left a bit behind and would need some work for downstream distros to be able to run them.

Thanks, Sandro