Showing
2 changed files
with
11 additions
and
1 deletions
| @@ -1093,3 +1093,12 @@ def test_cancellation_data(procurement_method_type): | @@ -1093,3 +1093,12 @@ def test_cancellation_data(procurement_method_type): | ||
| 1093 | else: | 1093 | else: |
| 1094 | result = random.choice(["noDemand", "unFixable", "forceMajeure", "expensesCut"]) | 1094 | result = random.choice(["noDemand", "unFixable", "forceMajeure", "expensesCut"]) |
| 1095 | return munchify({"reasonType": result}) | 1095 | return munchify({"reasonType": result}) |
| 1096 | + | ||
| 1097 | + | ||
| 1098 | +def test_24_hours_data(): | ||
| 1099 | + return munchify({ | ||
| 1100 | + "data": { | ||
| 1101 | + "code": "24h", | ||
| 1102 | + "description": create_fake_sentence() | ||
| 1103 | + } | ||
| 1104 | + }) |
| @@ -85,7 +85,8 @@ from .initial_data import ( | @@ -85,7 +85,8 @@ from .initial_data import ( | ||
| 85 | test_reject_complaint_data, | 85 | test_reject_complaint_data, |
| 86 | test_cancellation_data, | 86 | test_cancellation_data, |
| 87 | test_cancel_pending_data, | 87 | test_cancel_pending_data, |
| 88 | - test_payment_data | 88 | + test_payment_data, |
| 89 | + test_24_hours_data | ||
| 89 | ) | 90 | ) |
| 90 | from barbecue import chef | 91 | from barbecue import chef |
| 91 | from restkit import request | 92 | from restkit import request |
Please
register
or
login
to post a comment