mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 13:09:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			526 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			526 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
 | |
| # SPDX-License-Identifier: CC0-1.0
 | |
| import pytest
 | |
| from pytest_embedded_idf.utils import idf_parametrize
 | |
| 
 | |
| 
 | |
| @pytest.mark.multi_dut_modbus_rs485
 | |
| @pytest.mark.parametrize(
 | |
|     'count, config',
 | |
|     [
 | |
|         (
 | |
|             2,
 | |
|             'release',
 | |
|         )
 | |
|     ],
 | |
|     indirect=True,
 | |
| )
 | |
| @idf_parametrize('target', ['esp32'], indirect=['target'])
 | |
| def test_rs485_multi_dev(case_tester) -> None:  # type: ignore
 | |
|     case_tester.run_all_multi_dev_cases(reset=True)
 | 
