X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6c2d3fc303542b7f77f4350974acf781a1b91c30..40d11af2de7aed77c90970ba2b61dd754a225117:/mytest.py diff --git a/mytest.py b/mytest.py index 4ac9ed63..448076c6 100644 --- a/mytest.py +++ b/mytest.py @@ -37,9 +37,9 @@ except ImportError: # initialize autorun plugins and plugin menu entries from Components.PluginComponent import plugins -plugins.readPluginList(resolveFilename(SCOPE_PLUGINS)) from Screens.Wizard import wizardManager +from Screens.ImageWizard import * from Screens.StartWizard import * from Screens.TutorialWizard import * from Tools.BoundFunction import boundFunction @@ -94,6 +94,9 @@ class Session: self.dialog_stack = [ ] self.summary_stack = [ ] self.summary = None + + for p in plugins.getPlugins(PluginDescriptor.WHERE_SESSIONSTART): + p(reason=0, session=self) def processDelay(self): self.execEnd() @@ -303,6 +306,8 @@ class VolumeControl: self.muteDialog.hide() def runScreenTest(): + plugins.readPluginList(resolveFilename(SCOPE_PLUGINS)) + session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = Navigation()) screensToRun = [ ]