Commit b77d7bae authored by Jérome Perrin's avatar Jérome Perrin

recipe/siptester: minimal fix for ImportError

This code error when it's imported, because `install` does not exist on
this class, so the assignment caused NamError.
This is an "emergency commit" to repair the tests on python 3 after
 3a1e5628 (software/slapos-sr-testing: use nxdtest, 2020-10-28)
parent 6033e4fa
...@@ -35,7 +35,9 @@ class SipTesterRecipe(BaseSlapRecipe): ...@@ -35,7 +35,9 @@ class SipTesterRecipe(BaseSlapRecipe):
self._createRunningWrapper(d) self._createRunningWrapper(d)
return [path, wrapper_path] return [path, wrapper_path]
update = install def update(self):
return self.install()
class ReceiverRecipe(SipTesterRecipe): class ReceiverRecipe(SipTesterRecipe):
config_template = "pjsua_receiver.conf.in" config_template = "pjsua_receiver.conf.in"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment