The current_target function should return the expected target element's id.
()
| 8 | |
| 9 | |
| 10 | def test_current_target(): |
| 11 | """ |
| 12 | The current_target function should return the expected target element's id. |
| 13 | """ |
| 14 | expected = "py-0" |
| 15 | if is_micropython: |
| 16 | expected = "mpy-w1-target" if RUNNING_IN_WORKER else "mpy-0" |
| 17 | elif RUNNING_IN_WORKER: |
| 18 | expected = "py-w1-target" |
| 19 | assert current_target() == expected, f"Expected {expected} got {current_target()}" |
nothing calls this directly
no test coverage detected