# Path: oshino/config.py
# def load(config_file):
#     """
#     Processes and loads config file.
#     """
#     with open(config_file, "r") as f:
# 
#         def env_get():
#             return dict(os.environ)
#         tmpl = Template(f.read())
#         return Config(yaml.safe_load(tmpl.render(**env_get())))


import time
import logging
import pytest
import wait
from riemann_client.client import Client
from oshino.config import load




logger = logging.getLogger(__name__)

def with_retry(fn):
    def wrapper(*args, **kwargs):
        for i in range(0, 10):
            try:
                result = fn(*args, **kwargs)
                return result

# Path: oshino/config.py
# def load(config_file):
#     """
#     Processes and loads config file.
#     """
#     with open(config_file, "r") as f:
# 
#         def env_get():
#             return dict(os.environ)
#         tmpl = Template(f.read())
#         return Config(yaml.safe_load(tmpl.render(**env_get())))


# Path: tests/it_query.py
import time
import logging
import pytest
import wait
from riemann_client.client import Client
from oshino.config import load





logger = logging.getLogger(__name__)

def with_retry(fn):
    def wrapper(*args, **kwargs):
        for i in range(0, 10):
            try:
                result = fn(*args, **kwargs)
                return result

            except Exception as ex: