You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we'd like to ensure something does not appear in the output of the executed command
if we use:
with pytest.raises(AssertionError):
await cmd_monitor.wait_for_pattern(".*Task finished by provider", timeout=30)
this completes successfully but any subsequent assertions on output will immediately exit with an asyncio.CancelledError because of the changed state (of the internal PatternMatchingEventMonitor object ?)...
it should be possible to assert negatively on output within a given timeout without affecting results of other assertions...
The text was updated successfully, but these errors were encountered:
the problem:
we'd like to ensure something does not appear in the output of the executed command
if we use:
this completes successfully but any subsequent assertions on output will immediately exit with an
asyncio.CancelledError
because of the changed state (of the internalPatternMatchingEventMonitor
object ?)...it should be possible to assert negatively on output within a given timeout without affecting results of other assertions...
The text was updated successfully, but these errors were encountered: