From b6a8dfba44a2e59bd4f9f3600ac28271e3674950 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 23 Sep 2019 06:25:39 +0200 Subject: [PATCH] examples/nimble: fix setting DUT class in example tests Pass dut_class=ESP32DUT in the examples where this was missing. --- examples/bluetooth/nimble/blehr/blehr_test.py | 2 +- examples/bluetooth/nimble/bleprph/bleprph_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bluetooth/nimble/blehr/blehr_test.py b/examples/bluetooth/nimble/blehr/blehr_test.py index 7ba871a734..432a160135 100644 --- a/examples/bluetooth/nimble/blehr/blehr_test.py +++ b/examples/bluetooth/nimble/blehr/blehr_test.py @@ -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") diff --git a/examples/bluetooth/nimble/bleprph/bleprph_test.py b/examples/bluetooth/nimble/bleprph/bleprph_test.py index b4ea5aca8d..70615c12bf 100644 --- a/examples/bluetooth/nimble/bleprph/bleprph_test.py +++ b/examples/bluetooth/nimble/bleprph/bleprph_test.py @@ -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")