Skip to content

Commit f3f77f7

Browse files
committed
Skip tests for related sectors/services
1 parent 4843e73 commit f3f77f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tbx/taxonomy/tests/test_models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from unittest import skip
2+
13
from wagtail.models import Site
24
from wagtail.test.utils import WagtailPageTestCase
35

@@ -78,6 +80,7 @@ def test_blog_post_taxonomies_tags(self):
7880
self.assertListEqual(list(self.blog_page_service.tags), [services[1]])
7981
self.assertListEqual(list(self.blog_page_sector.tags), [sectors[1]])
8082

83+
@skip("Related services in blog posts are currently disabled")
8184
def test_related_blog_posts_services(self):
8285
"""
8386
Tests the `related_blog_posts` property on the `BlogPage` model using the Service taxonomy
@@ -104,6 +107,7 @@ def test_related_blog_posts_services(self):
104107
# so there should be 3 related blog posts
105108
self.assertEqual(len(blog_post3.related_blog_posts), 3)
106109

110+
@skip("Related sectors in blog posts are currently disabled")
107111
def test_related_blog_posts_sectors(self):
108112
"""
109113
Tests the `related_blog_posts` property on the `BlogPage` model using the Sectors taxonomy

0 commit comments

Comments
 (0)