Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ random_string
Method
random_string
tests/test_pipeline_files.py:425–426 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
423
424
def
_generate_fake_settings(self, tmp_path, prefix=None):
425
def
random_string():
426
return
""
.join([chr(random.randint(97, 123))
for
_ in range(10)])
427
428
settings = {
429
"FILES_EXPIRES"
: random.randint(100, 1000),
Callers
nothing calls this directly
Calls
1
join
Method · 0.45
Tested by
no test coverage detected