# Path: problemtools/config.py
# class ConfigError(Exception):
# def load_config(configuration_file):
# def __config_file_paths():
# def __update_dict(orig, update):


import pytest
    import os
from problemtools import config
# -*- coding: utf-8 -*-


def config_paths_mock():
    return [os.path.join(os.path.dirname(__file__), 'config1'),
            os.path.join(os.path.dirname(__file__), 'config2')]


def test_load_basic_config(monkeypatch):

# Path: problemtools/config.py
# class ConfigError(Exception):
# def load_config(configuration_file):
# def __config_file_paths():
# def __update_dict(orig, update):


# Path: problemtools/tests/test_config.py
import pytest
    import os
from problemtools import config

# -*- coding: utf-8 -*-


def config_paths_mock():
    return [os.path.join(os.path.dirname(__file__), 'config1'),
            os.path.join(os.path.dirname(__file__), 'config2')]


def test_load_basic_config(monkeypatch):

    monkeypatch.setattr(config, '__config_file_paths', config_paths_mock)