* fix: remove doctypes,workspace blocks, files * fix: minor python tests and UI tests * fix: remove blog post from tests * fix: remove blogger as role for tests * fix: add check for if doctype exists * fix: ui test * fix: more cleanup * fix: cleanup comments and fix test_query * fix: resolve conflicts * fix: add warning and handle comments
10 lines
296 B
Python
10 lines
296 B
Python
import frappe
|
|
from frappe.tests import IntegrationTestCase
|
|
from frappe.utils import get_html_for_route
|
|
|
|
|
|
class TestSitemap(IntegrationTestCase):
|
|
def test_sitemap(self):
|
|
xml = get_html_for_route("sitemap.xml")
|
|
self.assertTrue("/about</loc>" in xml)
|
|
self.assertTrue("/contact</loc>" in xml)
|