import pytest

from pyroapi import pyro_backend
from pyroapi.tests import *  # noqa F401

pytestmark = pytest.mark.stage('unit')


@pytest.fixture(params=["pyro", "minipyro"])
def backend(request):
    with pyro_backend(request.param):
        yield
