examples/nimble: fix setting DUT class in example tests

Pass dut_class=ESP32DUT in the examples where this was missing.
pull/4273/head
Ivan Grokhotkov 2019-09-23 06:25:39 +02:00
rodzic f991f812ab
commit b6a8dfba44
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -129,7 +129,7 @@ def test_example_app_ble_hr(env, extra_data):
subprocess.check_output(['hciconfig','hci0','reset'])
# Acquire DUT
dut = env.get_dut("blehr", "examples/bluetooth/nimble/blehr")
dut = env.get_dut("blehr", "examples/bluetooth/nimble/blehr", dut_class=ESP32DUT)
# Get binary file
binary_file = os.path.join(dut.app.binary_path, "blehr.bin")

Wyświetl plik

@ -150,7 +150,7 @@ def test_example_app_ble_peripheral(env, extra_data):
subprocess.check_output(['hciconfig','hci0','reset'])
# Acquire DUT
dut = env.get_dut("bleprph", "examples/bluetooth/nimble/bleprph")
dut = env.get_dut("bleprph", "examples/bluetooth/nimble/bleprph", dut_class=ESP32DUT)
# Get binary file
binary_file = os.path.join(dut.app.binary_path, "bleprph.bin")