# Path: tests/utils.py
# def get_response_content(filename):
#     filename = os.path.join(get_responses_dir(), filename)
#     return read_file(filename)


from datetime import date
from ..utils import get_response_content
# -*- coding: utf-8 -*-



class TestCompanyService(object):
    def test_get(self, netvisor, responses):
        responses.add(
            method='GET',
            url=(
                'http://koulutus.netvisor.fi/GetCompanyInformation.nv?'
                'OrganizationIdentifier=1234567-8'
            ),

# 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_company.py
from datetime import date
from ..utils import get_response_content

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



class TestCompanyService(object):
    def test_get(self, netvisor, responses):
        responses.add(
            method='GET',
            url=(
                'http://koulutus.netvisor.fi/GetCompanyInformation.nv?'
                'OrganizationIdentifier=1234567-8'
            ),

            body=get_response_content('GetCompanyInformation.xml'),