File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -932,16 +932,20 @@ def test_100_open_in_dispvm(self):
932932 self .loop .run_until_complete (self .testvm1 .create_on_disk ())
933933 self .app .save ()
934934
935+ apps_list = self ._get_apps_list (self .template )
935936 app_id = "mozilla-thunderbird"
936937 if "debian" in self .template or "whonix" in self .template :
937938 app_id = "thunderbird"
938939 # F40+ has org.mozilla.thunderbird
939- if "org.mozilla.thunderbird" in self . _get_apps_list ( self . template ) :
940+ if "org.mozilla.thunderbird" in apps_list :
940941 app_id = "org.mozilla.thunderbird"
941942 # F41+ has net.thunderbird.Thunderbird
942- if "net.thunderbird.Thunderbird" in self . _get_apps_list ( self . template ) :
943+ if "net.thunderbird.Thunderbird" in apps_list :
943944 app_id = "net.thunderbird.Thunderbird"
944945
946+ if not app_id in apps_list :
947+ self .skipTest (f"{ app_id } not installed in { self .template } " )
948+
945949 self .testvm1 .features ["service.app-dispvm." + app_id ] = "1"
946950 self .loop .run_until_complete (self .testvm1 .start ())
947951 self .loop .run_until_complete (self .wait_for_session (self .testvm1 ))
You can’t perform that action at this time.
0 commit comments