# Path: gocdapi/admin.py
# class Admin(GoBase):
#     def __init__(self, go_server):
#     def __str__(self):
#     def reload_command_repo_cache(self):
#     def _poll(self):
#     def poll_configuration(self):
#     def push_xml_configuration(self, md5, xml_data):
#     def create_pipeline_group(self, group_name):
#     def delete_pipeline_group(self, group_name):
#     def delete_pipeline(self, pipeline):
#     def update_pipeline_from_xml(self, pipeline_xml_data):
#     def create_pipeline_from_xml(self, group_name, pipeline_xml_data):
# 
# Path: gocdapi/custom_exceptions.py
# class GoCdApiException(Exception):
#     """
#     Base class for all errors
#     """
#     pass


import unittest
import xml.etree.ElementTree as ET
from gocdapi.admin import ConfigXML
from gocdapi.custom_exceptions import GoCdApiException
            <pipeline name="Pipeline_1">
            </pipeline>
          </pipelines>
          <pipelines group="Group_2">
            <pipeline name="Pipeline_2">
            </pipeline>
            <pipeline name="Pipeline_3">
            </pipeline>
            <pipeline name="Pipeline_4">
            </pipeline>
          </pipelines>
          <pipelines group="Group_3" />
          <templates>
          </templates>
          <agents>
          </agents>
        </cruise>
    """

    DATA1 = """
        <pipeline name="SuperPipeline">
        </pipeline>
    """

    DATA2 = """
        <pipeline name="Pipeline_4" arg="newarg">
        </pipeline>
    """

    DATA3 = """

# Path: gocdapi/admin.py
# class Admin(GoBase):
#     def __init__(self, go_server):
#     def __str__(self):
#     def reload_command_repo_cache(self):
#     def _poll(self):
#     def poll_configuration(self):
#     def push_xml_configuration(self, md5, xml_data):
#     def create_pipeline_group(self, group_name):
#     def delete_pipeline_group(self, group_name):
#     def delete_pipeline(self, pipeline):
#     def update_pipeline_from_xml(self, pipeline_xml_data):
#     def create_pipeline_from_xml(self, group_name, pipeline_xml_data):
# 
# Path: gocdapi/custom_exceptions.py
# class GoCdApiException(Exception):
#     """
#     Base class for all errors
#     """
#     pass


# Path: gocdapi_tests/unittests/test_config_xml.py
import unittest
import xml.etree.ElementTree as ET
from gocdapi.admin import ConfigXML
from gocdapi.custom_exceptions import GoCdApiException

            <pipeline name="Pipeline_1">
            </pipeline>
          </pipelines>
          <pipelines group="Group_2">
            <pipeline name="Pipeline_2">
            </pipeline>
            <pipeline name="Pipeline_3">
            </pipeline>
            <pipeline name="Pipeline_4">
            </pipeline>
          </pipelines>
          <pipelines group="Group_3" />
          <templates>
          </templates>
          <agents>
          </agents>
        </cruise>
    """

    DATA1 = """
        <pipeline name="SuperPipeline">
        </pipeline>
    """

    DATA2 = """
        <pipeline name="Pipeline_4" arg="newarg">
        </pipeline>
    """

    DATA3 = """

        <pipeline name="Pipeline_4">