From 226327cacf91c534ca1b5fb0e3431fe825a4f4e6 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 8 Feb 2021 19:24:16 +0100 Subject: [PATCH] fixing job test --- orchestra/contrib/services/tests/functional_tests/test_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchestra/contrib/services/tests/functional_tests/test_job.py b/orchestra/contrib/services/tests/functional_tests/test_job.py index db8b23e4..4e81d7ed 100644 --- a/orchestra/contrib/services/tests/functional_tests/test_job.py +++ b/orchestra/contrib/services/tests/functional_tests/test_job.py @@ -42,8 +42,8 @@ class JobBillingTest(BaseTestCase): self.create_job(5, account=account) bill = account.orders.bill()[0] - self.assertEqual(5*20, bill.get_total()) + self.assertEqual(5*20, bill.total) self.create_job(100, account=account) bill = account.orders.bill(new_open=True)[0] - self.assertEqual(100*15, bill.get_total()) + self.assertEqual(100*15, bill.total)