# Path: core/config.py
# def full_path(path_to_config):
# def _import(filename):
# def create_if_not_exist(directory):
#     def update(self, new_values):
# def setup_config(path_to_config):
# class Config(object):
# 
# Path: tests/helpers.py
# class BaseTestCase(unittest.TestCase):
#     def shortDescription(self):
#         return None
# 
# def custom_wait(self):
#     self.ready = True
#     self.checking = False
#     yield self.ready


import json
from mock import Mock, patch, PropertyMock
from core.config import setup_config, config
from tests.helpers import BaseTestCase, custom_wait
from flask import Flask
        from core.db import Database
            from vmpool.virtual_machines_pool import VirtualMachinesPool
        from multiprocessing.pool import ThreadPool
        from core.db.models import OpenstackClone
        from core.db.models import OpenstackClone
# coding: utf-8



@patch('core.utils.openstack_utils.nova_client', Mock())
@patch.multiple(
    'core.db.models.OpenstackClone',

# Path: core/config.py
# def full_path(path_to_config):
# def _import(filename):
# def create_if_not_exist(directory):
#     def update(self, new_values):
# def setup_config(path_to_config):
# class Config(object):
# 
# Path: tests/helpers.py
# class BaseTestCase(unittest.TestCase):
#     def shortDescription(self):
#         return None
# 
# def custom_wait(self):
#     self.ready = True
#     self.checking = False
#     yield self.ready


# Path: tests/integrational/test_virtual_machine_pool.py
import json
from mock import Mock, patch, PropertyMock
from core.config import setup_config, config
from tests.helpers import BaseTestCase, custom_wait
from flask import Flask
        from core.db import Database
            from vmpool.virtual_machines_pool import VirtualMachinesPool
        from multiprocessing.pool import ThreadPool
        from core.db.models import OpenstackClone
        from core.db.models import OpenstackClone

# coding: utf-8



@patch('core.utils.openstack_utils.nova_client', Mock())
@patch.multiple(
    'core.db.models.OpenstackClone',

    _wait_for_activated_service=custom_wait,