# Path: netvisor/exc.py
# class InvalidData(NetvisorError):
#     pass
# 
# Path: tests/utils.py
# def get_response_content(filename):
#     filename = os.path.join(get_responses_dir(), filename)
#     return read_file(filename)


import decimal
import pytest
from netvisor.exc import InvalidData
from ..utils import get_response_content
# -*- coding: utf-8 -*-





class TestProductService(object):
    def test_get(self, netvisor, responses):
        responses.add(
            method='GET',
            url='http://koulutus.netvisor.fi/GetProduct.nv?id=5',

# Path: netvisor/exc.py
# class InvalidData(NetvisorError):
#     pass
# 
# Path: tests/utils.py
# def get_response_content(filename):
#     filename = os.path.join(get_responses_dir(), filename)
#     return read_file(filename)


# Path: tests/services/test_product.py
import decimal
import pytest
from netvisor.exc import InvalidData
from ..utils import get_response_content

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





class TestProductService(object):
    def test_get(self, netvisor, responses):
        responses.add(
            method='GET',
            url='http://koulutus.netvisor.fi/GetProduct.nv?id=5',

            body=get_response_content('GetProduct.xml'),