python-hpilo icon indicating copy to clipboard operation
python-hpilo copied to clipboard

(Debian) how to run tests

Open sandrotosi opened this issue 3 years ago • 0 comments

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

sandrotosi avatar Jun 07 '22 01:06 sandrotosi