mqtt-tests: rename tests to match the actual group

This commit is contained in:
David Cermak 2020-04-03 16:43:55 +02:00
parent 25803b9dc4
commit 6d07bcd611
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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()