MCPcopy
hub / github.com/scrapy/scrapy / test_update_iterable

Method test_update_iterable

tests/test_settings/__init__.py:228–230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

226 reason="BaseSettings.update doesn't support iterable input",
227 )
228 def test_update_iterable(self):
229 settings = BaseSettings({"key": 0})
230 settings.update([("key", 1)])
231
232 def test_update_jsonstring(self):
233 settings = BaseSettings({"number": 0, "dict": BaseSettings({"key": "val"})})

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
BaseSettingsClass · 0.90

Tested by

no test coverage detected