modify arguments of Dispatcher.announce_update
- 'pname' argument is not needed - change 'modulename' argument to 'moduleobj' (needed for further change) Change-Id: Ib21f8ad06d9b2be4005ff3513088a85e29785c94 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/32744 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@ -53,7 +53,7 @@ artime = Time() # artificial test time
|
||||
class DispatcherStub:
|
||||
maxcycles = 10
|
||||
|
||||
def announce_update(self, modulename, pname, pobj):
|
||||
def announce_update(self, moduleobj, pobj):
|
||||
now = artime.time()
|
||||
if hasattr(pobj, 'stat'):
|
||||
pobj.stat.append(now)
|
||||
|
Reference in New Issue
Block a user