Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Complete testing of calculate Order amount #7007

Merged

Conversation

iamareebjamal
Copy link
Member

No description provided.

@auto-label auto-label bot added the testing label May 14, 2020
@niranjan94
Copy link
Member

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- app/api/helpers/order.py  2
         

Clones added
============
- tests/all/integration/api/helpers/order/test_calculate_order_amount.py  3
         

See the complete overview on Codacy

_assert_tax_data_discount(amount_data)


def test_request_calculate_order_amount_without_discount(client, db):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov
Copy link

codecov bot commented May 14, 2020

Codecov Report

Merging #7007 into development will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #7007      +/-   ##
===============================================
+ Coverage        60.56%   60.60%   +0.03%     
===============================================
  Files              259      259              
  Lines            12893    12893              
===============================================
+ Hits              7809     7814       +5     
+ Misses            5084     5079       -5     
Impacted Files Coverage Δ
app/api/custom/orders.py 19.17% <100.00%> (+0.61%) ⬆️
app/api/helpers/exceptions.py 100.00% <100.00%> (ø)
app/api/helpers/order.py 64.70% <100.00%> (+1.99%) ⬆️
app/instance.py 87.64% <0.00%> (+0.56%) ⬆️

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 0e3c6bb...a84902f. Read the comment docs.

@iamareebjamal iamareebjamal merged commit dad2f42 into fossasia:development May 14, 2020
@iamareebjamal iamareebjamal deleted the test/complete-order-amount branch May 14, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants