jsonifier: adapt tests

pull/3205/head
Simone Orsi 2025-02-21 11:34:48 +01:00
parent 134294b3e8
commit 2d5d36b976
1 changed files with 3 additions and 3 deletions

View File

@ -176,8 +176,7 @@ class TestParser(TransactionCase):
"lang": "en_US",
"_fieldname_comment": "Notes",
"comment": None,
"_fieldname_credit_limit": "Credit Limit",
"credit_limit": 0.0,
"_fieldname_partner_latitude": "Geo Latitude",
"_fieldname_name": "Name",
"name": "Akretion",
"_fieldname_color": "Color Index",
@ -214,9 +213,10 @@ class TestParser(TransactionCase):
"_fieldname_category_id": "Tags",
"category_id": [{"_fieldname_name": "Tag Name", "name": "Inovator"}],
"_fieldname_create_date": "Created on",
"create_date": "2019-10-31T15:39:49+01:00",
"create_date": "2019-10-31T14:39:49",
"_fieldname_date": "Date",
"date": "2019-10-31",
"partner_latitude": 0.0,
}
json_partner = self.partner.jsonify(parser)
self.assertDictEqual(json_partner[0], expected_json)