def METHOD_NAME(self):
    """
    Test that the template can be exported with `export template`
    """
    output = self.run_export_cmd("template")
    js = json.loads(output)
    assert "index_patterns" in js
    assert "template" in js
    assert "priority" in js
    assert "order" not in js
    assert "mappings" in js["template"]
    assert "settings" in js["template"]