mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-26 17:48:26 +00:00 
			
		
		
		
	Use test_part_types as the name instead of dm_compact. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			498 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			498 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0
 | |
| # Copyright (C) 2020
 | |
| # Niel Fourie, DENX Software Engineering, lusus@denx.de
 | |
| 
 | |
| import pytest
 | |
| 
 | |
| @pytest.mark.buildconfigspec('cmd_part')
 | |
| @pytest.mark.buildconfigspec('partitions')
 | |
| @pytest.mark.buildconfigspec('efi_partition')
 | |
| def test_part_types(u_boot_console):
 | |
|     """Test that `part types` prints a result which includes `EFI`."""
 | |
|     output = u_boot_console.run_command('part types')
 | |
|     assert "Supported partition tables:" in output
 | |
|     assert "EFI" in output
 |