mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 04:31:49 +02:00
commit
a3be81177b
1 changed files with 3 additions and 1 deletions
|
@ -393,7 +393,8 @@ class APITestCase(IhatemoneyTestCase):
|
||||||
"converted_amount": 25.0,
|
"converted_amount": 25.0,
|
||||||
"original_currency": "XXX",
|
"original_currency": "XXX",
|
||||||
"external_link": "https://raclette.fr",
|
"external_link": "https://raclette.fr",
|
||||||
}
|
"is_reimbursement": "false",
|
||||||
|
}
|
||||||
|
|
||||||
got = json.loads(req.data.decode("utf-8"))
|
got = json.loads(req.data.decode("utf-8"))
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
|
@ -464,6 +465,7 @@ class APITestCase(IhatemoneyTestCase):
|
||||||
"converted_amount": 25.0,
|
"converted_amount": 25.0,
|
||||||
"original_currency": "XXX",
|
"original_currency": "XXX",
|
||||||
"id": 1,
|
"id": 1,
|
||||||
|
"is_reimbursement": false,
|
||||||
}
|
}
|
||||||
|
|
||||||
got = json.loads(req.data.decode("utf-8"))
|
got = json.loads(req.data.decode("utf-8"))
|
||||||
|
|
Loading…
Reference in a new issue