mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	tests: py: fix NameError exception if bdi cmd is not supported
test/py raises an error, if a board has not enabled bdi command
>           pytest.skip('bdinfo command not supported')
E           NameError: global name 'pytest' is not defined
import pytest in test/py/u_boot_utils.py fixes this.
Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
			
			
This commit is contained in:
		
							parent
							
								
									1ea4fac5a3
								
							
						
					
					
						commit
						b8218a9146
					
				@ -7,6 +7,7 @@
 | 
			
		||||
import hashlib
 | 
			
		||||
import os
 | 
			
		||||
import os.path
 | 
			
		||||
import pytest
 | 
			
		||||
import sys
 | 
			
		||||
import time
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user