CI: rename some tests to avoid duplicated test names

* Original commit: espressif/esp-idf@4dc74c9c42
This commit is contained in:
Chen Yudong authored and aleks committed 2022-03-21 13:18:30 +01:00
1 parent 9716064cbb
commit d1a0493a79
2 files changed
+4 -4

No files matched your search

@@ -169,7 +169,7 @@ def test_check_mode(dut=None, mode_str=None, value=None):
@ttfw_idf.idf_example_test(env_tag='Example_T2_RS485', target=['esp32'])
def test_modbus_communication(env, comm_mode):
def test_modbus_serial_communication(env, comm_mode):
global logger
# Get device under test. "dut1 - master", "dut2 - slave" must be properly connected through RS485 interface driver
@@ -286,5 +286,5 @@ if __name__ == '__main__':
logger.addHandler(fh)
logger.addHandler(ch)
logger.info('Start script %s.' % os.path.basename(__file__))
test_modbus_communication()
test_modbus_serial_communication()
logging.shutdown()
@@ -206,7 +206,7 @@ def test_check_mode(dut=None, mode_str=None, value=None):
@ttfw_idf.idf_example_test(env_tag='Example_Modbus_TCP', target=['esp32'])
def test_modbus_communication(env, comm_mode):
def test_modbus_tcp_communication(env, comm_mode):
global logger
rel_project_path = os.path.join('examples', 'protocols', 'modbus', 'tcp')
@@ -305,4 +305,4 @@ def test_modbus_communication(env, comm_mode):
if __name__ == '__main__':
test_modbus_communication()
test_modbus_tcp_communication()