CI: rename some tests to avoid duplicated test names

* Original commit: espressif/esp-idf@4dc74c9c42
This commit is contained in:
Chen Yudong
2022-03-11 18:34:44 +08:00
committed by aleks
parent 9716064cbb
commit d1a0493a79
2 changed files with 4 additions and 4 deletions

View File

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

View File

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