import pytest

from qaseio.client import QaseApi
from qaseio.client.services import BaseService


@pytest.fixture()
def client():
    api = QaseApi("")
    api.projects._in_test = True
    api.cases._in_test = True
    api.runs._in_test = True
    api.results._in_test = True
    api.plans._in_test = True
    api.suites._in_test = True
    api.milestones._in_test = True
    api.shared_steps._in_test = True
    api.defects._in_test = True
    api.attachments._in_test = True
    api.custom_fields._in_test = True
    api.users._in_test = True
    return api


@pytest.fixture()
def base_service():
    return BaseService(None, None)

import pytest

from qaseio.client import QaseApi
from qaseio.client.services import BaseService


@pytest.fixture()
def client():
    api = QaseApi("")
    api.projects._in_test = True
    api.cases._in_test = True
    api.runs._in_test = True
    api.results._in_test = True
    api.plans._in_test = True
    api.suites._in_test = True
    api.milestones._in_test = True
    api.shared_steps._in_test = True
    api.defects._in_test = True
    api.attachments._in_test = True
    api.custom_fields._in_test = True
    api.users._in_test = True
    return api


@pytest.fixture()
def base_service():
    return BaseService(None, None)
