svthalia/concrexit

View on GitHub
website/sales/fixtures/products.json

Summary

Maintainability
Test Coverage
[
    {
        "model": "sales.product",
        "pk": 1,
        "fields": {
            "name": "beer",
            "age_restricted": true
        }
    },
    {
        "model": "sales.product",
        "pk": 2,
        "fields": {
            "name": "wine",
            "age_restricted": true
        }
    },
    {
        "model": "sales.product",
        "pk": 3,
        "fields": {
            "name": "soda",
            "age_restricted": false
        }
    },
    {
        "model": "sales.productlist",
        "pk": 1,
        "fields": {
            "name": "normal"
        }
    },
    {
        "model": "sales.productlist",
        "pk": 2,
        "fields": {
            "name": "free"
        }
    },
    {
        "model": "sales.productlistitem",
        "pk": 1,
        "fields": {
            "product": 1,
            "product_list": 1,
            "price": "0.50"
        }
    },
    {
        "model": "sales.productlistitem",
        "pk": 2,
        "fields": {
            "product": 2,
            "product_list": 1,
            "price": "0.50"
        }
    },
    {
        "model": "sales.productlistitem",
        "pk": 3,
        "fields": {
            "product": 3,
            "product_list": 1,
            "price": "0.00"
        }
    },
    {
        "model": "sales.productlistitem",
        "pk": 7,
        "fields": {
            "product": 1,
            "product_list": 2,
            "price": "0.00"
        }
    },
    {
        "model": "sales.productlistitem",
        "pk": 8,
        "fields": {
            "product": 2,
            "product_list": 2,
            "price": "0.00"
        }
    },
    {
        "model": "sales.productlistitem",
        "pk": 9,
        "fields": {
            "product": 3,
            "product_list": 2,
            "price": "0.00"
        }
    }
]