Some checks failed
CI / lint-test (push) Failing after 26s
CI / skinny-install (api) (push) Successful in 44s
CI / skinny-install (aco) (push) Successful in 1m17s
CI / skinny-install (bcda) (push) Successful in 47s
CI / skinny-install (bib) (push) Successful in 47s
CI / skinny-install (bls) (push) Successful in 32s
CI / skinny-install (ccw) (push) Successful in 29s
CI / skinny-install (cms) (push) Successful in 37s
CI / skinny-install (cli) (push) Successful in 46s
CI / skinny-install (opps) (push) Successful in 29s
CI / skinny-install (conf) (push) Successful in 43s
CI / skinny-install (perf) (push) Successful in 43s
CI / skinny-install (pfs) (push) Successful in 41s
CI / skinny-install (rex) (push) Successful in 38s
Deploy / build-scan-report (push) Failing after 5m12s
Package Supply Chain / pkg-supply-chain (push) Failing after 42s
308 new lines covered this batch (2,605→2,297 missed). Import + smoke tests replaced with exercising tests for iom, oig, sync, flow, llm, droplet, cloudflare, postmark, resend, export, project, ingest, plus CLI --help coverage for all bib/prisma/zot/rec commands. Remaining gap to 99%: 1,816 lines across cli/, mail/droplet, prisma/vpn, bib/regulations_gov, prisma/fetch. All require mocked CliRunner or httpx/pydo/subprocess exercising tests. Work continues — this commit preserves progress.
21 lines
404 B
Python
21 lines
404 B
Python
"""Deep tests for prisma.project."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
class TestImportable:
|
|
def test_load(self):
|
|
from prisma.project import load
|
|
|
|
assert callable(load)
|
|
|
|
def test_init(self):
|
|
from prisma.project import init
|
|
|
|
assert callable(init)
|
|
|
|
def test_project_class(self):
|
|
from prisma.project import Project
|
|
|
|
assert Project is not None
|