SDK-2627: Add version param to Plugin

This commit is contained in:
Romuald Juchnowicz-Bierbasz
2019-03-07 13:18:26 +01:00
parent 6885cdc439
commit bda867473c
4 changed files with 10 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ def plugin(reader, writer):
stack.enter_context(patch.object(Plugin, method, new_callable=AsyncMock))
for method in methods:
stack.enter_context(patch.object(Plugin, method))
yield Plugin(Platform.Generic, reader, writer, "token")
yield Plugin(Platform.Generic, "0.1", reader, writer, "token")
@pytest.fixture(autouse=True)
def my_caplog(caplog):