diff --git a/juju/client/connection.py b/juju/client/connection.py index 88c31c2ab..46312f251 100644 --- a/juju/client/connection.py +++ b/juju/client/connection.py @@ -93,6 +93,7 @@ def status(self): ) if stopped or not connection._ws.open: + raise BaseException("FIXME just testing not open") return self.ERROR # everything is fine! @@ -358,6 +359,7 @@ async def close(self, to_reconnect: bool = False): self._debug_log_task.cancel() if self._ws and not self._ws.closed: + raise BaseException("FIXME just testing two") await self._ws.close() if not to_reconnect: