# Path: katprep/exceptions.py
# class EmptySetException(Exception):
#     """
#     Dummy class for empty result sets
# 
#     .. class:: EmptySetException
#     """
# 
# class InvalidCredentialsException(Exception):
#     """
#     Dummy class for invalid credentials
# 
#     .. class:: InvalidCredentialsException
#     """
# 
# class SessionException(Exception):
#     """
#     Dummy class for session errors
# 
#     .. class:: SessionException
#     """
# 
# Path: tests/utilities.py
# def load_config(config_file):
#     if not os.path.isfile(config_file):
#         pytest.skip("Please create configuration file %s!" % config_file)
# 
#     try:
#         with open(config_file, "r") as json_file:
#             return json.load(json_file)
#     except IOError as err:
#         pytest.skip("Unable to read configuration file: '%s'", err)


import logging
import pytest
from katprep.exceptions import (EmptySetException,
InvalidCredentialsException, SessionException)
from .utilities import load_config
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Unit tests for Libvirt integration
"""

from __future__ import absolute_import, print_function




@pytest.fixture(scope="session")
def config():

# Path: katprep/exceptions.py
# class EmptySetException(Exception):
#     """
#     Dummy class for empty result sets
# 
#     .. class:: EmptySetException
#     """
# 
# class InvalidCredentialsException(Exception):
#     """
#     Dummy class for invalid credentials
# 
#     .. class:: InvalidCredentialsException
#     """
# 
# class SessionException(Exception):
#     """
#     Dummy class for session errors
# 
#     .. class:: SessionException
#     """
# 
# Path: tests/utilities.py
# def load_config(config_file):
#     if not os.path.isfile(config_file):
#         pytest.skip("Please create configuration file %s!" % config_file)
# 
#     try:
#         with open(config_file, "r") as json_file:
#             return json.load(json_file)
#     except IOError as err:
#         pytest.skip("Unable to read configuration file: '%s'", err)


# Path: tests/test_LibvirtClient.py
import logging
import pytest
from katprep.exceptions import (EmptySetException,
InvalidCredentialsException, SessionException)
from .utilities import load_config

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Unit tests for Libvirt integration
"""

from __future__ import absolute_import, print_function




@pytest.fixture(scope="session")
def config():

    return load_config("libvirt_config.json")