MCPcopy
hub / github.com/scrapy/scrapy / test_append

Method test_append

tests/test_feedexport_storages.py:87–90  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

85 storage.store(file)
86
87 def test_append(self, tmp_path):
88 path = tmp_path / "file.txt"
89 self._store(path)
90 self._assert_stores(FileFeedStorage(str(path)), path, b"contentcontent")
91
92 def test_overwrite(self, tmp_path):
93 path = tmp_path / "file.txt"

Callers

nothing calls this directly

Calls 3

_storeMethod · 0.95
_assert_storesMethod · 0.95
FileFeedStorageClass · 0.90

Tested by

no test coverage detected