mithril-security / blindai

Confidential AI deployment with secure enclaves :lock:
https://www.mithrilsecurity.io/
Apache License 2.0
502 stars 36 forks source link

More client unit tests & python unittest CI support w/ coverage report #61

Closed cchudant closed 2 years ago

cchudant commented 2 years ago

Description

More python unit tests

Name                          Stmts   Miss  Cover
-------------------------------------------------
blindai/__init__.py               0      0   100%
blindai/client.py               207     16    92%
blindai/dcap_attestation.py      73      5    93%
blindai/utils/__init__.py         0      0   100%
blindai/utils/errors.py          24     15    38%
blindai/utils/utils.py           32      3    91%
blindai/version.py                1      0   100%
-------------------------------------------------
TOTAL                           337     39    88%

(we should put coverage reports in the CI by the way)

Related Issue

None

Type of change

How Has This Been Tested?

N/A

Checklist: