| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hi @rakeshgunduka. TypeError is the exception raised for non int args: self.Epson._raw(_CASH_DRAWER('string1', 'string2', 'string3')) and for wrong number of args: self.Epson._raw(_CASH_DRAWER(27, 112, 0, 64, 54, 54)) also for both wrong number of non int args: self.Epson._raw(_CASH_DRAWER('string')) |
Sorry, something went wrong.
|
Hi @belono , |
Sorry, something went wrong.
|
Hi @belono , |
Sorry, something went wrong.
|
Great! |
Sorry, something went wrong.
|
Yeah renamed the aliasing as 'err' which is short and descriptive. |
Sorry, something went wrong.
|
Looks great for me ;) |
Sorry, something went wrong.
|
Hi @rakeshgunduka thanks for the PR! |
Sorry, something went wrong.
|
Hi @belono , |
Sorry, something went wrong.
|
This test indicates that you have no test-coverage for this functionality. In order to get this away you could write a test, which provokes this error and then checks whether this exception gets raised. A test that does something similar is in https://github.com/python-escpos/python-escpos/blob/development/test/test_function_barcode.py#L35-L36 |
Sorry, something went wrong.
|
Hi @belono , |
Sorry, something went wrong.
|
I have added a little test to the PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Contributor checklist
Description