File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change
1
+ from unittest import skip
2
+
1
3
from wagtail .models import Site
2
4
from wagtail .test .utils import WagtailPageTestCase
3
5
@@ -78,6 +80,7 @@ def test_blog_post_taxonomies_tags(self):
78
80
self .assertListEqual (list (self .blog_page_service .tags ), [services [1 ]])
79
81
self .assertListEqual (list (self .blog_page_sector .tags ), [sectors [1 ]])
80
82
83
+ @skip ("Related services in blog posts are currently disabled" )
81
84
def test_related_blog_posts_services (self ):
82
85
"""
83
86
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):
104
107
# so there should be 3 related blog posts
105
108
self .assertEqual (len (blog_post3 .related_blog_posts ), 3 )
106
109
110
+ @skip ("Related sectors in blog posts are currently disabled" )
107
111
def test_related_blog_posts_sectors (self ):
108
112
"""
109
113
Tests the `related_blog_posts` property on the `BlogPage` model using the Sectors taxonomy
You can’t perform that action at this time.
0 commit comments