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

Commit

Permalink
black style
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAwiteb committed Nov 24, 2021
1 parent 3aca8ca commit cb58637
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fatoora/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
__author__ = "Awiteb <https://github.com/TheAwiteb>"
__copyright__ = "Copyright (c) 2021 <Awiteb@hotmail.com>"
__license__ = "MIT"
__version__ = version
__version__ = version
6 changes: 3 additions & 3 deletions tests/fatoora_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
invoice_date=1635872693.3186214, # timestamp
total_amount=100, # or 100.0, 100.00, "100.0", "100.00"
tax_amount=15, # or 15.0, 15.00, "15.0", "15.00"
qrcode_url="https://example.com"
qrcode_url="https://example.com",
)

fatoora_details = {
Expand Down Expand Up @@ -85,9 +85,9 @@ def test_qrcode():
def test_read_qrcode():
dct = Fatoora.read_qrcode(qrcode_filename, dct=True)
base = Fatoora.read_qrcode(qrcode_filename, dct=False)

url = Fatoora.read_qrcode(qrcode_filename_with_url, dct=False)

assert url == fatoora_obj_with_url.qrcode_url
assert base == fatoora_obj_with_url.base64

Expand Down

0 comments on commit cb58637

Please sign in to comment.