# Path: lab/config_v1.py
# class LabConfigError(Exception):
# class Error(Enum):
# class Loader(object):
# class Union(dict):
#     def __init__(self, name, kwargs):
#     def __call__(self):
#     def __init__(self, data, zone=None):
#     def __missing__(self, key):
# def load(config_path):
# def _parse_role(name, yaml, container, domain=None):
# def _parse_provider(name, yaml, container):
# def _parse_roles(roles, domain=None):
# def _parse_providers(providers):
# def _parse_common(yaml, domain=None):
# def _parse_zones(config):
# def _parse_environments(config):


import pytest
from lab import config_v1
        from .locker import EtcdLocker, Locker


@pytest.hookimpl
def pytest_addoption(parser):
    group = parser.getgroup('environment')
    group.addoption('--env', action='store')
    group.addoption('--zone', action='store')


@pytest.hookimpl
def pytest_lab_map(config, roles):

# Path: lab/config_v1.py
# class LabConfigError(Exception):
# class Error(Enum):
# class Loader(object):
# class Union(dict):
#     def __init__(self, name, kwargs):
#     def __call__(self):
#     def __init__(self, data, zone=None):
#     def __missing__(self, key):
# def load(config_path):
# def _parse_role(name, yaml, container, domain=None):
# def _parse_provider(name, yaml, container):
# def _parse_roles(roles, domain=None):
# def _parse_providers(providers):
# def _parse_common(yaml, domain=None):
# def _parse_zones(config):
# def _parse_environments(config):


# Path: pytest_lab/map.py
import pytest
from lab import config_v1
        from .locker import EtcdLocker, Locker



@pytest.hookimpl
def pytest_addoption(parser):
    group = parser.getgroup('environment')
    group.addoption('--env', action='store')
    group.addoption('--zone', action='store')


@pytest.hookimpl
def pytest_lab_map(config, roles):

    mapfile = config.hook.pytest_lab_getcfg(config=config,