Adds basic unit tests for the Carrier

Further testing is required for this one.
This commit is contained in:
Sergi Delgado Segura
2019-10-11 19:51:50 +01:00
parent a916c67cc5
commit 98c27f6013
2 changed files with 83 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ from pisa.errors import UNKNOWN_JSON_RPC_EXCEPTION
logger = Logger("Carrier")
# FIXME: This class is not fully covered by unit tests
class Receipt:
def __init__(self, delivered, confirmations=0, reason=None):