Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAwiteb committed Jan 18, 2022
1 parent bcffb19 commit 9ff8d0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/fatoora_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def test_total_amount():
def test_tax_amount():
for obj in [fatoora_obj, fatoora_obj_with_url]:
assert obj.tax_amount == float(fatoora_details.get("tax_amount"))
obj.tax_amount = None
assert obj.tax_amount == float(fatoora_details.get("tax_amount"))


def test_dict():
Expand Down

0 comments on commit 9ff8d0e

Please sign in to comment.