mirror of
				https://github.com/espressif/esp-protocols.git
				synced 2025-10-31 14:41:38 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			378 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			378 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
 | |
| # SPDX-License-Identifier: Unlicense OR CC0-1.0
 | |
| 
 | |
| # -*- coding: utf-8 -*-
 | |
| import pytest
 | |
| 
 | |
| 
 | |
| @pytest.mark.esp32
 | |
| def test_examples_ping_command(dut):
 | |
|     dut.expect('esp>', timeout=30)
 | |
|     dut.write('ping 127.0.0.1')
 | |
|     dut.expect('5 packets transmitted, 5 received, 0% packet loss, time 0ms', timeout=30)
 | |
|     pass
 |