MCPcopy
hub / github.com/jarun/buku / client

Function client

tests/test_server.py:45–51  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

43
44@pytest.fixture
45def client(tmp_path):
46 test_db = tmp_path / 'test.db'
47 app = server.create_app(test_db.as_posix())
48 client = app.test_client()
49 yield client
50 flask.g.bukudb.close()
51 os.remove(test_db)
52
53
54def test_home(client):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected