@patch("appvalidator.testcases.content.testendpoint_markup",
           MockMarkupEndpoint(("process", )))
    def test_markup(self):
        self.setup_err()
        mock_package = MockXPI({"foo.xml": "tests/resources/content/junk.xpi"})

        eq_(self._run_test(mock_package), 1)
        content.testendpoint_markup.assert_expectation("process", 1)
        content.testendpoint_markup.assert_expectation(
            "process", 0, "subpackage")
Tests markup files in the content validator.
dataset/ETHPy150Open mozilla/app-validator/tests/test_content.py/TestContent.test_markup