""" Tests of pipeline_mako/templates/static_content.html """ import unittest from edxmako.shortcuts import render_to_string class TestStaticContent(unittest.TestCase): """Tests for static_content.html""" def test_optional_include_mako(self): out = render_to_string("test_optional_include_mako.html", {}) self.assertIn("Welcome to test_optional_include_mako.html", out) self.assertIn("This is test_exists.html", out)