test: Update Blog Post test
This commit is contained in:
parent
daca5fbf13
commit
455041594a
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class TestBlogPost(unittest.TestCase):
|
|||
self.assertTrue(response.status_code, 200)
|
||||
|
||||
html = response.get_data().decode()
|
||||
self.assertTrue('<article class="blog-content" itemscope itemtype="http://schema.org/BlogPosting">' in html)
|
||||
self.assertTrue('<article class="blog-content mb-3" itemscope itemtype="http://schema.org/BlogPosting">' in html)
|
||||
|
||||
def test_generator_not_found(self):
|
||||
pages = frappe.get_all('Blog Post', fields=['name', 'route'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue