hugovk / norwegianblue

CLI to show end-of-life dates for a number of products.
https://endoflife.date
MIT License
79 stars 4 forks source link

Freeze time to fix test #76

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

A test started failing (e.g. https://github.com/hugovk/norwegianblue/pull/73) because time wasn't frozen and one product has moved from green to yellow.

codecov[bot] commented 2 years ago

Codecov Report

Merging #76 (861acb3) into main (95b6214) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   95.75%   95.76%   +0.01%     
==========================================
  Files           8        8              
  Lines         353      354       +1     
==========================================
+ Hits          338      339       +1     
  Misses         15       15              
Flag Coverage Δ
GHA_Ubuntu 95.76% <100.00%> (+0.01%) :arrow_up:
GHA_Windows 95.76% <100.00%> (+0.01%) :arrow_up:
GHA_macOS 95.76% <100.00%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/test_norwegianblue.py 100.00% <100.00%> (ø)

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 95b6214...861acb3. Read the comment docs.