Commit aadd3193 authored by Jean-samuel TETTEKPOE's avatar Jean-samuel TETTEKPOE
Browse files

Fix typo

parent a35711b1
......@@ -132,7 +132,7 @@ class BuySerializerTests(SerializerTests):
total_qty = self.stockitem.sell_qty + stockitem3.sell_qty
self.stockitem.refresh_from_db()
self.stockitem3.refresh_from_db()
stockitem3.refresh_from_db()
self.account.refresh_from_db()
self.assertAlmostEqual(self.stockitem.sell_qty, self.stockitem.sell_qty * (1 - data['qty'] / total_qty))
self.assertAlmostEqual(stockitem3.sell_qty, stockitem3.sell_qty * (1 - data['qty'] / total_qty))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment