driesvints / vat-calculator

Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be.
MIT License
1.2k stars 88 forks source link

Fix post code exceptions causing VAT to be zero-rated #31

Closed rossbearman closed 8 years ago

rossbearman commented 8 years ago

Fixes #30, by returning the default rate after checking for post code exceptions.

codecov-io commented 8 years ago

Current coverage is 95.58% (diff: 100%)

Merging #31 into master will not change coverage

@@             master        #31   diff @@
==========================================
  Files             5          5          
  Lines           181        181          
  Methods          35         35          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            173        173          
  Misses            8          8          
  Partials          0          0          

Powered by Codecov. Last update e17b3fe...9a5c782

mpociot commented 8 years ago

Thank you for the PR! Please also add a test for this modified functionality