We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1458649 commit 5e660b6Copy full SHA for 5e660b6
1 file changed
packages/polywrap-wasm/tests/test_wasm_wrapper.py
@@ -1,3 +1,4 @@
1
+from typing import List
2
import pytest
3
4
from pathlib import Path
@@ -9,11 +10,17 @@
9
10
11
from polywrap_wasm.constants import WRAP_MANIFEST_PATH
12
13
+from result import Result, Err
14
+
15
@pytest.fixture
16
def mock_invoker():
17
class MockInvoker(Invoker):
18
async def invoke(self, options: InvokerOptions) -> InvokeResult:
19
return InvokeResult()
20
21
+ def get_implementations(self, uri: Uri) -> Result[List[Uri], Exception]:
22
+ return Err(NotImplementedError())
23
24
return MockInvoker()
25
26
0 commit comments