Adjust unittest for master -> parent split
Tests should now match changes in
4d31300dd0
wip-fakessh-exit-status
parent
9ccff0f5d1
commit
4fb1b928b7
@ -1,10 +1,10 @@
|
||||
|
||||
import mitogen.core
|
||||
import mitogen.master
|
||||
import mitogen.parent
|
||||
|
||||
|
||||
@mitogen.core.takes_econtext
|
||||
def allocate_an_id(econtext):
|
||||
mitogen.master.upgrade_router(econtext)
|
||||
mitogen.parent.upgrade_router(econtext)
|
||||
return econtext.router.allocate_id()
|
||||
|
||||
|
Loading…
Reference in New Issue