MCPcopy
hub / github.com/scrapy/scrapy / test_overwrite_false

Method test_overwrite_false

tests/test_feedexport_storages.py:450–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

448 assert "S3 does not support appending to files" not in str(log)
449
450 def test_overwrite_false(self):
451 with LogCapture() as log:
452 S3FeedStorage(
453 "s3://mybucket/export.csv",
454 "access_key",
455 "secret_key",
456 "custom-acl",
457 feed_options={"overwrite": False},
458 )
459 assert "S3 does not support appending to files" in str(log)
460
461
462class TestGCSFeedStorage:

Callers

nothing calls this directly

Calls 1

S3FeedStorageClass · 0.90

Tested by

no test coverage detected