Source code for minos.networks.testing.brokers.publishers.queues

from minos.common.testing import (
    MockedDatabaseClient,
)
from minos.networks import (
    BrokerPublisherQueueDatabaseOperationFactory,
)

from ..collections import (
    MockedBrokerQueueDatabaseOperationFactory,
)


[docs]class MockedBrokerPublisherQueueDatabaseOperationFactory( BrokerPublisherQueueDatabaseOperationFactory, MockedBrokerQueueDatabaseOperationFactory ): """For testing purposes"""
MockedDatabaseClient.set_factory( BrokerPublisherQueueDatabaseOperationFactory, MockedBrokerPublisherQueueDatabaseOperationFactory )