test-utils: add a restartPlugin API
This commit is contained in:

committed by
Julian Bouzas

parent
c88a569835
commit
c7c06351f7
@@ -82,6 +82,10 @@ function u.createStreamNode (stream_type, props)
|
||||
u.lnkbl_count = u.lnkbl_count + 1
|
||||
end
|
||||
|
||||
function u.restartPlugin (name)
|
||||
u.script_tester_plugin:call ("restart-plugin", name)
|
||||
end
|
||||
|
||||
u.metadata = cu.default_metadata_om:lookup ()
|
||||
assert (u.metadata ~= nil)
|
||||
|
||||
|
Reference in New Issue
Block a user