wait_for_test_generation_session

Wait for a Test Generation Session to finish

def wait_for_test_generation_session(
    *,
    test_generation_session: TestGenerationSession,
    timeout_s: int = 180,
) -> TestGenerationSession

Parameters

Arguments
Description

test_generation_session

The dbnl TestGenerationSession to wait for completion.

timeout_s

An optional timeout (in seconds) parameter for waiting for the TestGenerationSession to complete. An exception will be raised if the TestGenerationSession did not complete before timeout_s has elapsed.

Returns

Type
Description

TestGenerationSession

The completed TestGenerationSession

Last updated

Was this helpful?