aws-deadline / deadline-cloud-test-fixtures

This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages
Apache License 2.0
9 stars 13 forks source link

Maintenance: "Log does NOT contain" assertion #153

Open amarsjac opened 2 weeks ago

amarsjac commented 2 weeks ago

Description

Library contains assert_single_task_log_contains allowing for positive assertions that the log contains a given string. Testing lacks the negative case to, to assert that logs do not contain a given string.

Solution

Add a similar method that to assert_log_contains to check that log does not contain given line

amarsjac commented 2 weeks ago

PR for issue https://github.com/aws-deadline/deadline-cloud-test-fixtures/pull/154