MCPcopy
hub / github.com/scrapy/scrapy / test_frozencopy

Method test_frozencopy

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

Source from the content-addressed store, hash-verified

406 self.settings.set("TEST_BOOL", False)
407
408 def test_frozencopy(self):
409 frozencopy = self.settings.frozencopy()
410 assert frozencopy.frozen
411 assert frozencopy is not self.settings
412
413 def test_getwithbase_for_dotted_keys(self):
414 settings = BaseSettings(

Callers

nothing calls this directly

Calls 1

frozencopyMethod · 0.80

Tested by

no test coverage detected