test_base.py 361 B

123456789101112131415
  1. # Copyright © 2023 Ingram Micro Inc. All rights reserved.
  2. import pytest
  3. from dj_cqrs.transport.base import BaseTransport
  4. def test_base_transport_consume():
  5. with pytest.raises(NotImplementedError):
  6. BaseTransport.consume(None)
  7. def test_base_transport_produce():
  8. with pytest.raises(NotImplementedError):
  9. BaseTransport.produce(None)