MCPcopy Index your code
hub / github.com/dbcli/pgcli / test_ensure_existing_dir

Function test_ensure_existing_dir

tests/test_config.py:16–20  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

14
15
16def test_ensure_existing_dir(tmpdir):
17 rcfile = str(tmpdir.mkdir("subdir").join("rcfile"))
18
19 # should just not raise
20 ensure_dir_exists(rcfile)
21
22
23def test_ensure_other_create_error(tmpdir):

Callers

nothing calls this directly

Calls 1

ensure_dir_existsFunction · 0.90

Tested by

no test coverage detected