@@ -382,6 +382,7 @@ def test_get_invoices(sandbox_accounting_api: AccountingApi, xero_tenant_id):
382382 total_tax = Decimal (0 ),
383383 type = "ACCREC" ,
384384 updated_date_utc = datetime .datetime (2018 , 11 , 2 , 16 , 31 , 30 , 160000 , tzinfo = tz .UTC ),
385+ updated_date_utc_string = "2018-11-02T16:31:30Z" ,
385386 ),
386387 Invoice (
387388 amount_credited = Decimal (0 ),
@@ -431,6 +432,7 @@ def test_get_invoices(sandbox_accounting_api: AccountingApi, xero_tenant_id):
431432 total_tax = Decimal (6 ),
432433 type = "ACCREC" ,
433434 updated_date_utc = datetime .datetime (2018 , 11 , 2 , 16 , 36 , 32 , 690000 , tzinfo = tz .UTC ),
435+ updated_date_utc_string = "2018-11-02T16:36:32Z" ,
434436 ),
435437 Invoice (
436438 amount_credited = Decimal (0 ),
@@ -467,7 +469,8 @@ def test_get_invoices(sandbox_accounting_api: AccountingApi, xero_tenant_id):
467469 total = Decimal (115 ),
468470 total_tax = Decimal (15 ),
469471 type = "ACCREC" ,
470- updated_date_utc = datetime .datetime (2018 , 11 , 2 , 16 , 37 , 28 , 927000 , tzinfo = tz .UTC )
472+ updated_date_utc = datetime .datetime (2018 , 11 , 2 , 16 , 37 , 28 , 927000 , tzinfo = tz .UTC ),
473+ updated_date_utc_string = "2018-11-02T16:37:28Z"
471474 )
472475 ],
473476 pagination = Pagination (
@@ -629,6 +632,7 @@ def test_update_or_create_invoices(
629632 updated_date_utc = datetime .datetime (
630633 2019 , 3 , 11 , 17 , 58 , 46 , 117000 , tzinfo = tz .UTC
631634 ),
635+ updated_date_utc_string = "2019-03-11T17:58:46Z" ,
632636 )
633637 ]
634638 )
0 commit comments