Fix tests

This commit is contained in:
Daniel Schiavini 2019-01-15 08:20:39 +01:00
parent f478653c37
commit 77c30c891f
6 changed files with 23 additions and 21 deletions

View file

@ -101,7 +101,7 @@ class CloudOutputDeviceManager:
if not active_machine:
return
# Remove all output devices that we have registered.
# Remove all output devices that we have registered. TODO: Why??
for stored_cluster_id in self._remote_clusters:
self._output_device_manager.removeOutputDevice(stored_cluster_id)

View file

@ -19,6 +19,11 @@ class CloudProgressMessage(Message):
use_inactivity_timer = False
)
## Returns a boolean indicating whether this message is currently visible
@property
def visible(self) -> bool:
return self._visible
## Shows the progress message.
def show(self):
self.setProgress(0)