示例#1
0
    def test_launch(self, ovshell: testing.OpenVarioShellStub) -> None:
        # GIVEN
        app = aboutapp.AboutApp(ovshell)

        # WHEN
        app.launch()

        # THEN
        act = ovshell.screen.stub_top_activity()
        assert isinstance(act, aboutapp.AboutActivity)
示例#2
0
 def list_apps(self) -> Sequence[api.App]:
     return [
         upgradeapp.SystemUpgradeApp(self.shell),
         setupapp.SetupApp(self.shell, self.id),
         aboutapp.AboutApp(self.shell),
     ]