#NEWLINE# @ requires_internet #NEWLINE# @ with_all_sources #NEWLINE# def test_get_base_image_info( tmpdir , source_params ) : #NEWLINE# #INDENT# if MOCK : #NEWLINE# #INDENT# mock_docker ( provided_image_repotags = 'fedora:latest' ) #NEWLINE# #UNINDENT# source_params . update ( { #NEWLINE# #INDENT# 'tmpdir' : str ( tmpdir ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# s = get_source_instance_for ( source_params ) #NEWLINE# b = InsideBuilder ( s , '' ) #NEWLINE# built_inspect = b . get_base_image_info ( ) #NEWLINE# assert ( built_inspect is not None ) #NEWLINE# assert ( built_inspect [ 'Id' ] is not None ) #NEWLINE# assert ( built_inspect [ 'RepoTags' ] is not None )