Skip to content

[CODE CAMP] Improved generic tests

Created by: rhfogh

NB - this PR is made on top of #513. It improves the test coverage for timeout handling, and solves the remaining test failures, but since it involves some class refactoring I have put it as a separate PR.

  • Adds MockActuator class to handle value setting for all mock actuators.
  • Removed now unneeded NStateMockup.
  • Added gevent.monkey.patch_all() to conftest.py - the lack caused some very difficult bugs where gevent.Timeout did not work as expected.

Merge request reports