Closed pcrespov closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.8%. Comparing base (
cafbf96
) to head (f015145
). Report is 250 commits behind head on master.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.2% Duplication on New Code
What do these changes do?
Here are some changes in
pytest-simcore
andservicelib
that can be useful in many services. I have used them in some of the services as example and will do systematically with many more in different PRsdocker_compose_service_environment_dict
: replicates the env vars that the real services will encounter.env-devel
and theenvironment
section of aservice_name
. Detects e.g. missing env vars in.env-devel
payments
as example (NOTE: recommended to buildapp_environment
fixture in all services services)pytest_simcore.helpers.utils_postgres.insert_and_get_row_lifespan
context for a control lifespan of a new row.packages/service-library/src/servicelib/fastapi/timing_middleware.py
fromdat-core
serviceRelated issue/s
How to test
in place
Dev-ops checklist
None