test: Update Blog Post test

This commit is contained in:
Faris Ansari 2019-02-02 11:37:50 +05:30
parent daca5fbf13
commit 455041594a

View file

@ -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'],