scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Fix db upgrade 42 for containers with archived=false #1057

Closed nagem closed 6 years ago

nagem commented 6 years ago

If archived is false an the container does not have any existing tags, the update would fail attempting to access the missing tags. Added additional tests.

Review Checklist

codecov-io commented 6 years ago

Codecov Report

Merging #1057 into master will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1057   +/-   ##
=======================================
  Coverage   91.18%   91.18%           
=======================================
  Files          50       50           
  Lines        6919     6919           
=======================================
  Hits         6309     6309           
  Misses        610      610