> This is fine, but you'd also need to add after:
>
> self.addCleanup(self.dash.ensure_hidden)
>
> This will ensure that if the test fails, the dash is hidden anyway.
I think the self.dash.ensure_hidden() call in tearDown() will ensure that. Isn't it called even in case of fail?
> Maybe, even including a small sleep after the alt+f4 press, could avoid false-
> negatives.
Ok.
> This is fine, but you'd also need to add after: (self.dash. ensure_ hidden)
>
> self.addCleanup
>
> This will ensure that if the test fails, the dash is hidden anyway.
I think the self.dash. ensure_ hidden( ) call in tearDown() will ensure that. Isn't it called even in case of fail?
> Maybe, even including a small sleep after the alt+f4 press, could avoid false-
> negatives.
Ok.