[patch] Use structured fields for adapter debug and info logs #46
@@ -237,7 +237,9 @@ def test_should_log_warning_when_getting_nonexistent_object(
|
||||
assert result is None
|
||||
assert "Object not found" in caplog.text
|
||||
assert object_name in caplog.text
|
||||
assert adapter._bucket_name in caplog.text
|
||||
bucket_name = adapter._bucket_name
|
||||
assert bucket_name is not None
|
||||
assert bucket_name in caplog.text
|
||||
|
||||
|
||||
def test_should_reraise_s3error_other_than_no_such_key() -> None:
|
||||
|
||||
Reference in New Issue
Block a user