Raise a WriteError when trying to update with an empty $set. by pcorpet · Pull Request #623 · mongomock/mongomock

@pcorpet

Copy link

Member

@pcorpet pcorpet commented

Apr 22, 2020

No description provided.

@codecov

Copy link

codecov bot commented

Apr 22, 2020

edited

Loading

Codecov Report

Merging #623 into develop will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #623   +/-   ##
========================================
  Coverage    94.84%   94.85%           
========================================
  Files           17       17           
  Lines         3281     3284    +3     
========================================
+ Hits          3112     3115    +3     
  Misses         169      169           
Impacted Files Coverage Δ
mongomock/collection.py 91.72% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c15d173...6145a69. Read the comment docs.

zozoens31

Copy link

Contributor

@zozoens31 zozoens31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pcorpet

Raise a WriteError when trying to update with an empty $set.

6145a69

@pcorpet pcorpet merged commit ca0ba31 into mongomock:develop

Jun 17, 2020

@pcorpet pcorpet deleted the set-error branch

June 17, 2020 06:25