From 0597b0796363752f2ac822c1cc3f7799a1f51a73 Mon Sep 17 00:00:00 2001 From: duker33 Date: Fri, 21 Jun 2019 18:54:09 +0300 Subject: [PATCH] #887 Subtask not solved bug investigation --- shopelectro/tests/tests_models.py | 2 +- shopelectro/tests/tests_views.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/shopelectro/tests/tests_models.py b/shopelectro/tests/tests_models.py index ea865ecc..eb364098 100644 --- a/shopelectro/tests/tests_models.py +++ b/shopelectro/tests/tests_models.py @@ -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' diff --git a/shopelectro/tests/tests_views.py b/shopelectro/tests/tests_views.py index ff9c20c1..c5dd86ec 100644 --- a/shopelectro/tests/tests_views.py +++ b/shopelectro/tests/tests_views.py @@ -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'