MCPcopy
hub / github.com/scrapy/scrapy / test_update_kwargs

Method test_update_kwargs

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

Source from the content-addressed store, hash-verified

218 raises=TypeError, reason="BaseSettings.update doesn't support kwargs input"
219 )
220 def test_update_kwargs(self):
221 settings = BaseSettings({"key": 0})
222 settings.update(key=1) # pylint: disable=unexpected-keyword-arg
223
224 @pytest.mark.xfail(
225 raises=AttributeError,

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
BaseSettingsClass · 0.90

Tested by

no test coverage detected