set global var test to default after test run
This commit is contained in:
@@ -155,6 +155,7 @@ async def test_remote_except(config_conn, patch_open_connection):
|
||||
await asyncio.sleep(0)
|
||||
assert inverter.remote.stream==None
|
||||
del inverter
|
||||
test = MockType.RD_TEST_0_BYTES
|
||||
|
||||
cnt = 0
|
||||
for inv in InverterBase:
|
||||
|
||||
@@ -133,6 +133,9 @@ async def test_remote_except(config_conn, patch_open_connection):
|
||||
await asyncio.sleep(0)
|
||||
assert inverter.remote.stream==None
|
||||
|
||||
test = MockType.RD_TEST_0_BYTES
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_mqtt_publish(config_conn, patch_open_connection):
|
||||
_ = config_conn
|
||||
|
||||
Reference in New Issue
Block a user