Skip to content

Improved generic tests v2

Created by: rhfogh

For some reason hte previous PR showed more differences than it should, so I am replaceing it with a new cleaner version

  • @IvarsKarpics I have moved the abstract test clsses to test/pytest (I made some silly errors with relative imports, which is why I could not get them to wr=krk there until IK showed me how).

  • @marcus-oscarsson I have added tests for emission of stateChanged, vlaueChanged, and limitsChanged.

  • @beteva I removed the velocity-seyting from AbstractMotor. But removing the changes in AnstractActuator caused the tests to fail. Maybe we need to change the tests too, or to change AbstractActuator so they pass in another way. but I think it is better that I make the PR so that the test pass, and leave it to you to make the modifications - after all you are teh one who knows what we need here.

I only have use of this hotspot at short, irregular intervals; sorry for being mostly offline, still.

Merge request reports