tests/net/lib/lwm2m: Switch description to native_sim

native_posix is deprecated, let's switch the
description & comments to refer to native_sim instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-08-14 11:29:51 +02:00 committed by Fabio Baltieri
commit 1aaea30adb
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
This directory contains list of testcases that use
the Twister's Pytest integration to run testcases against Leshan demo server.
These tests use emulated hardware (native_posix).
These tests use emulated hardware (native_sim).
These tests require setup that is not done in Twister run, so follow this documentation to set
up the test environment.
@ -105,7 +105,7 @@ Install with `pip install CoAPthon3`
## Running tests
```
twister -p native_posix -vv --enable-slow -T tests/net/lib/lwm2m/interop
twister -p native_sim -vv --enable-slow -T tests/net/lib/lwm2m/interop
```
Or use the Docker based testing

View file

@ -420,7 +420,7 @@ class Leshan:
Events are notifications, updates and sends.
The event stream must be closed after the use, so this must be used in 'with' statement like this:
with leshan.get_event_stream('native_posix') as events:
with leshan.get_event_stream('native_sim') as events:
data = events.next_event('SEND')
If timeout happens, the event streams returns None.