import pytest
from eth2._utils.bls import bls
from eth2._utils.bls.backends import PyECCBackend
from eth2.beacon.operations.attestation_pool import AttestationPool


#
# BLS mock
#
@pytest.fixture(autouse=True)
def mock_bls(mocker, request):
    if 'noautofixture' in request.keywords:
        bls.use(PyECCBackend)
    else:
        bls.use_noop_backend()


#
# Attestation pool
#
@pytest.fixture
def empty_attestation_pool():
    return AttestationPool()

d7c5b5d4304765cc3d2107f1a59d6272124a0790
<mask token>

<mask token>


@pytest.fixture
def empty_attestation_pool():
    return AttestationPool()

<mask token>


@pytest.fixture(autouse=True)
def mock_bls(mocker, request):
    if 'noautofixture' in request.keywords:
        bls.use(PyECCBackend)
    else:
        bls.use_noop_backend()


@pytest.fixture
def empty_attestation_pool():
    return AttestationPool()

import pytest
from eth2._utils.bls import bls
from eth2._utils.bls.backends import PyECCBackend
from eth2.beacon.operations.attestation_pool import AttestationPool


@pytest.fixture(autouse=True)
def mock_bls(mocker, request):
    if 'noautofixture' in request.keywords:
        bls.use(PyECCBackend)
    else:
        bls.use_noop_backend()


@pytest.fixture
def empty_attestation_pool():
    return AttestationPool()

import pytest
from eth2._utils.bls import bls
from eth2._utils.bls.backends import PyECCBackend
from eth2.beacon.operations.attestation_pool import AttestationPool


#
# BLS mock
#
@pytest.fixture(autouse=True)
def mock_bls(mocker, request):
    if 'noautofixture' in request.keywords:
        bls.use(PyECCBackend)
    else:
        bls.use_noop_backend()


#
# Attestation pool
#
@pytest.fixture
def empty_attestation_pool():
    return AttestationPool()
