diff --git a/components/mqtt/weekend_test/mqtt_publish_test.py b/components/mqtt/weekend_test/mqtt_publish_test.py index e018ebf24..e5a2f7683 100644 --- a/components/mqtt/weekend_test/mqtt_publish_test.py +++ b/components/mqtt/weekend_test/mqtt_publish_test.py @@ -113,7 +113,7 @@ def test_single_config(dut, transport, qos, repeat, published): event_stop_client.clear() -@ttfw_idf.idf_example_test(env_tag="Example_WIFI") +@ttfw_idf.idf_custom_test(env_tag="Example_WIFI") def test_weekend_mqtt_publish(env, extra_data): # Using broker url dictionary for different transport global broker_host @@ -127,7 +127,7 @@ def test_weekend_mqtt_publish(env, extra_data): 3. Test evaluates python client received correct qos0 message 4. Test ESP32 client received correct qos0 message """ - dut1 = env.get_dut("mqtt_publish_connect_test", "examples/protocols/mqtt/publish_connect_test") + dut1 = env.get_dut("mqtt_publish_connect_test", "tools/test_apps/protocols/mqtt/publish_connect_test") # Look for host:port in sdkconfig try: # python client subscribes to the topic to which esp client publishes and vice versa diff --git a/tools/test_apps/protocols/mqtt/publish_connect_test/app_test.py b/tools/test_apps/protocols/mqtt/publish_connect_test/app_test.py index 3dc2a41f8..84187750f 100644 --- a/tools/test_apps/protocols/mqtt/publish_connect_test/app_test.py +++ b/tools/test_apps/protocols/mqtt/publish_connect_test/app_test.py @@ -131,7 +131,7 @@ class TlsServer: @ttfw_idf.idf_custom_test(env_tag="Example_WIFI", group="test-apps") -def test_examples_protocol_mqtt_publish_connect(env, extra_data): +def test_app_protocol_mqtt_publish_connect(env, extra_data): """ steps: 1. join AP @@ -227,4 +227,4 @@ def test_examples_protocol_mqtt_publish_connect(env, extra_data): if __name__ == '__main__': - test_examples_protocol_mqtt_publish_connect() + test_app_protocol_mqtt_publish_connect()