Rewrite tests

This commit is contained in:
ChrisTerBeke 2018-11-19 10:57:47 +01:00
parent 23e957e1c5
commit ee9210d8d1
2 changed files with 198 additions and 221 deletions

View file

@ -32,7 +32,7 @@ class SendMaterialJob(Job):
## Send the request to the printer and register a callback
def run(self) -> None:
self.device.get("materials/", on_finished = self.sendMissingMaterials)
self.device.get("materials/", on_finished = self._onGetRemoteMaterials)
## Process the materials reply from the printer.
#