diff options
| author | Andrew Clayton <a.clayton@nginx.com> | 2024-08-26 15:53:13 +0100 |
|---|---|---|
| committer | Andrew Clayton <a.clayton@nginx.com> | 2024-08-28 22:18:37 +0100 |
| commit | 19cd88ef907a3a9248d58a987070f18749ff874b (patch) | |
| tree | 6dc2e5e828763ecef4efb17207f17babb644fb61 /test/test_wasm_component.py | |
| parent | 264f4af44c1d054b6d676877c53ae163a7da7055 (diff) | |
| download | unit-19cd88ef907a3a9248d58a987070f18749ff874b.tar.gz unit-19cd88ef907a3a9248d58a987070f18749ff874b.tar.bz2 | |
test/wasm-wc: Rename test_wasm_component.py
Rename this to 'test_wasm-wasi-component.py' to match the language
module name and the name as used in the CI.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'test/test_wasm_component.py')
| -rw-r--r-- | test/test_wasm_component.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/test_wasm_component.py b/test/test_wasm_component.py deleted file mode 100644 index 6d3bc485..00000000 --- a/test/test_wasm_component.py +++ /dev/null @@ -1,18 +0,0 @@ -import pytest -from unit.applications.lang.wasm_component import ApplicationWasmComponent - -prerequisites = { - 'modules': {'wasm-wasi-component': 'any'}, - 'features': {'cargo_component': True}, -} - -client = ApplicationWasmComponent() - - -def test_wasm_component(): - client.load('hello_world') - - req = client.get() - - assert client.get()['status'] == 200 - assert req['body'] == 'Hello' |
