MCPcopy
hub / github.com/scrapy/scrapy / test_load_object_function

Method test_load_object_function

tests/test_utils_misc/__init__.py:28–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 assert obj is Field
27
28 def test_load_object_function(self):
29 obj = load_object(load_object)
30 assert obj is load_object
31 obj = load_object("scrapy.utils.misc.load_object")
32 assert obj is load_object
33
34 def test_load_object_exceptions(self):
35 with pytest.raises(ImportError):

Callers

nothing calls this directly

Calls 1

load_objectFunction · 0.90

Tested by

no test coverage detected