SDK docs menu

class · extends AssertionError

ConsoleTimeout

Expected console output didn't appear within the simulated time allowed.

from hardlabs_sdk import ConsoleTimeout

A subclass of AssertionError, so pytest reports it as a failed assertion. The message shows what the console printed instead.

Attributes

textstr
The text that was expected.
withinfloat
The simulated seconds that were allowed.
recentlist[str]
The console lines printed while waiting.