MCPcopy Create free account
hub / github.com/OpenAstronomy/packaging-guide / installed_cookiejar

Function installed_cookiejar

tests/test_package.py:10–18  ·  view source on GitHub ↗
(cookiejar_examples)

Source from the content-addressed store, hash-verified

8
9@pytest.fixture
10def installed_cookiejar(cookiejar_examples):
11 path = str(cookiejar_examples.project_path)
12
13 subprocess.call(["git", "init", path])
14 subprocess.call(["pip", "install", path])
15
16 yield cookiejar_examples
17
18 subprocess.call(["pip", "uninstall", "-y", "packagename"])
19
20
21def test_examples_present(installed_cookiejar):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected