Skip to content

Commit 28dddb9

Browse files
committed
fix(arduino): Fix test path
1 parent c7e7df3 commit 28dddb9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pytest-embedded-arduino/tests/test_arduino.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33

44
def test_arduino_serial_flash(testdir):
5-
testdir.makepyfile("""
5+
testdir.makepyfile(f"""
66
import pexpect
77
import pytest
88
99
def test_arduino_app(app, dut):
10-
expected_bin = os.path.join(
11-
testdir.tmpdir,
12-
'hello_world_arduino/build/hello_world_arduino.ino.merged.bin'
13-
)
10+
expected_bin = os.path.join({
11+
os.path.join(testdir.tmpdir,
12+
'hello_world_arduino',
13+
'build',
14+
'hello_world_arduino.ino.merged.bin'
15+
)
16+
})
1417
assert app.binary_file == expected_bin
1518
assert app.target == 'esp32'
1619
expected_fqbn = (

0 commit comments

Comments
 (0)