plone / guillotina

Python AsyncIO data API to manage billions of resources
https://guillotina.readthedocs.io/en/latest/
Other
187 stars 51 forks source link

Fix transaction context manager doesn't abort the txn when a exception is raised #1021

Closed masipcat closed 3 years ago

codecov-io commented 3 years ago

Codecov Report

Merging #1021 into master will increase coverage by 0.1%. The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1021     +/-   ##
========================================
+ Coverage    94.6%   94.6%   +0.1%     
========================================
  Files         316     316             
  Lines       28078   28091     +13     
========================================
+ Hits        26554   26571     +17     
+ Misses       1524    1520      -4     
Impacted Files Coverage Δ
guillotina/tests/test_transactions.py 100.0% <100.0%> (ø)
guillotina/transactions.py 93.0% <100.0%> (ø)
guillotina/db/storages/pg.py 89.1% <0.0%> (-0.1%) :arrow_down:
guillotina/contrib/pubsub/utility.py 87.0% <0.0%> (+2.2%) :arrow_up:
guillotina/contrib/redis/driver.py 85.8% <0.0%> (+2.7%) :arrow_up: