adding pytest PoC for real devices
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ sdkconfig.old
|
|||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
.history/*
|
.history/*
|
||||||
|
__pycache__
|
||||||
|
3
pytest.ini
Normal file
3
pytest.ini
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[pytest]
|
||||||
|
addopts = --embedded-services esp,idf -s
|
||||||
|
python_files = *.py
|
2
tests/test_main.py
Normal file
2
tests/test_main.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
def test_main(dut):
|
||||||
|
dut.expect('waiting for download')
|
Reference in New Issue
Block a user