Skip to content

Commit

Permalink
#887 Subtask not solved bug investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Jun 21, 2019
1 parent 028cced commit 0597b07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shopelectro/tests/tests_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Category(TestCase):
fixtures = ['dump.json']

def test_crumb_siblings_are_active(self):
category = se_models.Category.objects.raw(
category = se_models.Category.objects.raw( # Ignore CPDBear
'SELECT * FROM shopelectro_category AS P'
' WHERE P.id = ('
' SELECT C.parent_id FROM shopelectro_category as C'
Expand Down
3 changes: 3 additions & 0 deletions shopelectro/tests/tests_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ def test_tags_pagination_has_canonical_links(self):
)
)

# @todo #887:30m Continue not active crumb siblings bug investigation.
# The test below proves that bug described at #887 is not reproduced.
# However prod contains this bug. Continue investigation.
def test_crumb_siblings_are_active(self):
category = models.Category.objects.raw(
'SELECT * FROM shopelectro_category AS P'
Expand Down

0 comments on commit 0597b07

Please sign in to comment.