Additional tests for nomnomdata.engine
-
NominodeClient - test every function generates the correct calls to the nominode. Maybe use the responses
requests mocking library. Do not use NominodeMock. -
NominodeMock - test nominode calls using requests are mocked correctly and return sensible outputs, check it is storing the calls correctly in NominodeMock.calls -
NominodeLogHandler - test all expected log lines are submitted to nominode -
test update_progress, update_result on Engine -
check logging correctly has a NominodeLogHandler + level during an action function call
Edited by Samantha Hughes