MCPcopy Create free account
hub / github.com/apify/crawlee-python / test_custom_configuration

Function test_custom_configuration

tests/unit/test_service_locator.py:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def test_custom_configuration() -> None:
19 custom_config = Configuration(default_browser_path='custom_path')
20 service_locator.set_configuration(custom_config)
21 config = service_locator.get_configuration()
22 assert config is custom_config
23
24
25def test_configuration_overwrite_not_possible() -> None:

Callers

nothing calls this directly

Calls 3

ConfigurationClass · 0.90
set_configurationMethod · 0.80
get_configurationMethod · 0.80

Tested by

no test coverage detected