Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
cd3d0bf5
Unverified
Commit
cd3d0bf5
authored
Aug 22, 2024
by
Lucas Saavedra Vaz
Committed by
GitHub
Aug 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(tests): Use proper API and check for required token (#10223)
parent
60cbb627
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
.github/scripts/tests_run.sh
.github/scripts/tests_run.sh
+4
-0
tests/validation/democfg/test_democfg.py
tests/validation/democfg/test_democfg.py
+1
-1
tests/validation/hello_world/test_hello_world.py
tests/validation/hello_world/test_hello_world.py
+1
-1
tests/validation/nvs/test_nvs.py
tests/validation/nvs/test_nvs.py
+3
-3
No files found.
.github/scripts/tests_run.sh
View file @
cd3d0bf5
...
...
@@ -132,6 +132,10 @@ while [ ! -z "$1" ]; do
-W
)
shift
wokwi_timeout
=
$1
if
[[
-z
$WOKWI_CLI_TOKEN
]]
;
then
echo
"Wokwi CLI token is not set"
exit
1
fi
platform
=
"wokwi"
;;
-o
)
...
...
tests/validation/democfg/test_democfg.py
View file @
cd3d0bf5
def
test_cfg
(
dut
):
dut
.
expect
(
"Hello cfg!"
)
dut
.
expect
_exact
(
"Hello cfg!"
)
tests/validation/hello_world/test_hello_world.py
View file @
cd3d0bf5
def
test_hello_world
(
dut
):
dut
.
expect
(
"Hello Arduino!"
)
dut
.
expect
_exact
(
"Hello Arduino!"
)
tests/validation/nvs/test_nvs.py
View file @
cd3d0bf5
def
test_nvs
(
dut
):
dut
.
expect
(
"Current counter value: 0"
)
dut
.
expect
(
"Current counter value: 1"
)
dut
.
expect
(
"Current counter value: 2"
)
dut
.
expect
_exact
(
"Current counter value: 0"
)
dut
.
expect
_exact
(
"Current counter value: 1"
)
dut
.
expect
_exact
(
"Current counter value: 2"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment