Coverage for src/products/constants.py: 100%
12 statements
« prev ^ index » next coverage.py v7.9.2, created at 2025-08-04 12:59 +0300
« prev ^ index » next coverage.py v7.9.2, created at 2025-08-04 12:59 +0300
1class ReviewFieldLengths:
2 MAX_COMMENT_LENGTH = 300
5class InventoryFiledLengths:
6 PRICE_MAX_DIGITS = 7
8 PRICE_DECIMAL_PLACES = 2
11class InventoryDefaults:
12 QUANTITY = 5
15class ReviewErrorMessages:
16 ERROR_INVALID_CONTENT_TYPE_OR_ID = 'Invalid content type or object ID'
18 ERROR_REVIEW_NOT_FOUND = 'Review not found'
21class NameFieldLengths:
22 NAME_MAX_LENGTH = 30