Skip to content

Commit

Permalink
#822 Subtask category matrix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Apr 29, 2019
1 parent 29ba70e commit d540e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shopelectro/views/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
MATRIX_BLOCK_SIZE = 7


# @todo #822:60m Create tests for the catalog matrix.
# This cases are would be good to test:
# - Matrix sorting by page position
# - Block items limiting
def category_matrix(request, page: str):
assert page == 'catalog'
roots = (
Expand Down

0 comments on commit d540e28

Please sign in to comment.