feat: added sku and resetted migrations
This commit is contained in:
@@ -14,14 +14,17 @@ class ShopModelsTest(TestCase):
|
||||
|
||||
def create_products(self):
|
||||
self.potatoes = Product.objects.create(
|
||||
sku='0000001',
|
||||
name="Patatas",
|
||||
stock=Decimal("100.00"),
|
||||
)
|
||||
self.gasoline = Product.objects.create(
|
||||
sku='0000002',
|
||||
name="Gasolina",
|
||||
stock=Decimal("800.00"),
|
||||
)
|
||||
self.usb_c = Product.objects.create(
|
||||
sku='0000003',
|
||||
name="Cable USB-C",
|
||||
stock=Decimal("5.00"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user