MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / get_environ

Function get_environ

tests_python/test_debugger.py:1050–1058  ·  view source on GitHub ↗
(writer)

Source from the content-addressed store, hash-verified

1048@pytest.mark.skipif(not TEST_DJANGO, reason="No django available")
1049def test_case_django_a(case_setup_django):
1050 def get_environ(writer):
1051 env = os.environ.copy()
1052 env.update(
1053 {
1054 "PYDEVD_FILTER_LIBRARIES": "1", # Global setting for in project or not
1055 "IDE_PROJECT_ROOTS": debugger_unittest._get_debugger_test_file(writer.DJANGO_FOLDER),
1056 }
1057 )
1058 return env
1059
1060 with case_setup_django.test_file(EXPECTED_RETURNCODE="any", get_environ=get_environ) as writer:
1061 writer.write_make_initial_run()

Callers

nothing calls this directly

Calls 8

_path_equalsFunction · 0.85
copyMethod · 0.80
dumpsMethod · 0.80
get_file_in_clientFunction · 0.70
updateMethod · 0.45
getMethod · 0.45
get_pydevd_fileMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected