forked from erp-dev/erp
feat: log formatted
This commit is contained in:
@@ -188,6 +188,7 @@ class PrintingJobByCustomerAPITest(TestCase):
|
||||
product=self.product,
|
||||
quantity=10,
|
||||
unit='米',
|
||||
sub_id=11,
|
||||
)
|
||||
printing_models.PrintingJob.objects.filter(id=self.job_in_range.id).update(created_at=in_range)
|
||||
|
||||
@@ -253,6 +254,7 @@ class PrintingJobByCustomerAPITest(TestCase):
|
||||
self.assertEqual(len(resp.data), 1)
|
||||
self.assertEqual(resp.data[0]['id'], self.job_in_range.id)
|
||||
self.assertEqual(resp.data[0]['external_order_id'], 'KD20410611')
|
||||
self.assertEqual(resp.data[0]['sub_id'], 11)
|
||||
self.assertEqual(resp.data[0]['billed_quantity'], '20.00')
|
||||
|
||||
def test_filter_by_printing_order(self):
|
||||
|
||||
Reference in New Issue
Block a user