fintech-hub / bancocentralbrasil

💵 💰 :brazil: Informações sobre taxas oficiais diárias de Inflação, Selic, Poupança, Dólar, Dólar PTAX, Euro e Euro PTAX pelo site do Banco Central do Brasil
http://www.bcb.gov.br
MIT License
123 stars 33 forks source link

Adds tests for requests retry #7

Closed diegoponciano closed 6 years ago

diegoponciano commented 6 years ago

Adds tests for retrying requests logic, increasing missing coverage.

codecov-io commented 6 years ago

Codecov Report

Merging #7 into master will increase coverage by 1.3%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master       #7     +/-   ##
=========================================
+ Coverage   98.13%   99.43%   +1.3%     
=========================================
  Files           2        2             
  Lines         161      178     +17     
=========================================
+ Hits          158      177     +19     
+ Misses          3        1      -2
Impacted Files Coverage Δ
test_bancocentral.py 100% <100%> (ø) :arrow_up:
bancocentral.py 98.98% <0%> (+2.02%) :arrow_up:

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 8caac41...ace8269. Read the comment docs.