File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,21 +18,27 @@ def test_customs_client_importable():
1818
1919def test_enums_importable ():
2020 from rsge import (
21- WayBillType ,
22- WayBillStatus ,
23- TransportationType ,
24- VATType ,
21+ BusinessStatus ,
2522 CategoryType ,
26- TransportCostPayer ,
2723 ConfirmationStatus ,
28- BusinessStatus ,
24+ TransportationType ,
25+ TransportCostPayer ,
26+ VATType ,
27+ WayBillStatus ,
28+ WayBillType ,
2929 )
3030 assert WayBillType .TRANSPORTATION == 2
3131 assert WayBillStatus .ACTIVE == 1
32+ assert BusinessStatus .NONE == 0
33+ assert CategoryType .REGULAR == 0
34+ assert ConfirmationStatus .UNCONFIRMED == 0
35+ assert TransportationType .TRUCK == 1
36+ assert TransportCostPayer .BUYER == 1
37+ assert VATType .REGULAR == 0
3238
3339
3440def test_models_importable ():
35- from rsge import WayBill , GoodsItem , WayBillSaveResult , CustomsDeclaration
41+ from rsge import CustomsDeclaration , GoodsItem , WayBill , WayBillSaveResult
3642 assert WayBill
3743 assert GoodsItem
3844 assert WayBillSaveResult
@@ -41,11 +47,11 @@ def test_models_importable():
4147
4248def test_exceptions_importable ():
4349 from rsge import (
44- RSGeError ,
45- RSGeAuthenticationError ,
46- RSGeValidationError ,
4750 RSGeAPIError ,
51+ RSGeAuthenticationError ,
4852 RSGeConnectionError ,
53+ RSGeError ,
54+ RSGeValidationError ,
4955 )
5056 assert issubclass (RSGeAuthenticationError , RSGeError )
5157 assert issubclass (RSGeValidationError , RSGeError )
You can’t perform that action at this time.
0 commit comments