9 lines
230 B
Python
9 lines
230 B
Python
import pytest
|
|
from m2m.nbiot import factory
|
|
|
|
@pytest.fixture
|
|
def bg95_mock():
|
|
"""Returns a BG95 module instance connected to the MockSerial engine."""
|
|
module = factory('BG95', 'MOCK')
|
|
with module:
|
|
yield module
|