import pytest

from dae.pheno.pheno_db import PhenotypeStudy


@pytest.fixture
def fake_phenotype_data(fixture_dirname):
    pheno_data = PhenotypeStudy(
        "fake_db", fixture_dirname("fake_pheno_db/fake.db"))
    pheno_data._load()
    return pheno_data

import pytest

from dae.pheno.pheno_db import PhenotypeStudy


@pytest.fixture
def fake_phenotype_data(fixture_dirname):
    pheno_data = PhenotypeStudy(
        "fake_db", fixture_dirname("fake_pheno_db/fake.db"))
    pheno_data._load()
    return pheno_data
