fixing job test

This commit is contained in:
Cayo Puigdefabregas 2021-02-08 19:24:16 +01:00 committed by Santiago Lamora
parent 6f043cd272
commit 226327cacf

View file

@ -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)