def setUp(self):
        date_time = datetime.utcnow().isoformat('T')

        self.m = Order.get_mock_object()
        self.m.date = date_time
        self.m.tax = Decimal(self.m.tax).quantize(Decimal('.01'))
        self.m.total = Decimal(self.m.total).quantize(Decimal('.01'))
 def setUp(self):
     self.m = Invoice.get_mock_object()
     self.m.orders = (
         Order.get_mock_object(),
         Order.get_mock_object()
     )