MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / test_task_logging

Function test_task_logging

tools-tests/tasks_test.py:140–145  ·  view source on GitHub ↗
(verbosity, task_platform, tmp_path)

Source from the content-addressed store, hash-verified

138@pytest.mark.parametrize("verbosity", [0, 1, 2])
139@pytest.mark.parametrize("task_platform", [sys.platform, "fakeplatform"])
140def test_task_logging(verbosity, task_platform, tmp_path):
141 taskrunner = tasks.TaskRunner(verbosity=verbosity, tmp_dir=tmp_path)
142 task = tasks.AllOsTask("echo", "echo")
143 # fake the platform for a test
144 task.platforms = [task_platform]
145 taskrunner.run(task)
146
147
148@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected