(app_bundle, workspace)
| 92 | |
| 93 | |
| 94 | def application_for_bundle(app_bundle, workspace): |
| 95 | for app in workspace.runningApplications(): |
| 96 | if app_bundle is not None: |
| 97 | if app.bundleIdentifier() == app_bundle: |
| 98 | return app |
| 99 | |
| 100 | |
| 101 | # check if application is running |
nothing calls this directly
no outgoing calls
no test coverage detected