File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
pytest-embedded-wokwi/tests Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1
1
import os
2
- import shutil
3
2
4
3
import pytest
5
4
6
- wokwi_cli_required = pytest .mark .skipif (
7
- shutil .which ('wokwi-cli' ) is None ,
8
- reason = 'Please make sure that `wokwi-cli` is in your PATH env var. '
9
- + 'To install: https://docs.wokwi.com/wokwi-ci/getting-started#cli-installation' ,
10
- )
11
-
12
5
wokwi_token_required = pytest .mark .skipif (
13
6
os .getenv ('WOKWI_CLI_TOKEN' ) is None ,
14
7
reason = 'Please make sure that `WOKWI_CLI_TOKEN` env var is set. Get a token here: https://wokwi.com/dashboard/ci' ,
15
8
)
16
9
17
10
18
- @wokwi_cli_required
19
11
@wokwi_token_required
20
12
def test_pexpect_by_wokwi_esp32 (testdir ):
21
13
testdir .makepyfile ("""
@@ -40,7 +32,6 @@ def test_pexpect_by_wokwi(dut):
40
32
result .assert_outcomes (passed = 1 )
41
33
42
34
43
- @wokwi_cli_required
44
35
@wokwi_token_required
45
36
def test_pexpect_by_wokwi_esp32_arduino (testdir ):
46
37
testdir .makepyfile ("""
You can’t perform that action at this time.
0 commit comments