zyte-autoextract icon indicating copy to clipboard operation
zyte-autoextract copied to clipboard

Improve get_apikey method and its tests

Open victor-torres opened this issue 5 years ago • 1 comments

This pull request:

  • avoid problems when executing tests on local environment with populated variables
  • avoid problems when environment variables are undefined or blank strings

victor-torres avatar Aug 25 '20 14:08 victor-torres

Codecov Report

Merging #19 into master will decrease coverage by 0.26%. The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   59.82%   59.55%   -0.27%     
==========================================
  Files          14       14              
  Lines         448      450       +2     
  Branches       57       58       +1     
==========================================
  Hits          268      268              
- Misses        179      181       +2     
  Partials        1        1              
Impacted Files Coverage Δ
autoextract/apikey.py 85.71% <71.42%> (-14.29%) :arrow_down:

codecov[bot] avatar Aug 25 '20 14:08 codecov[bot]