#NEWLINE# def testBuild( self ) : #NEWLINE# #INDENT# container = dockermix . Container ( 'test_container' , { #NEWLINE# #INDENT# 'config' : { #NEWLINE# #INDENT# 'command' : 'ps aux' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# container . build ( ) #NEWLINE# self . assertIsNotNone ( container . desc [ 'container_id' ] ) #NEWLINE# state = container . docker_client . inspect_container ( container . desc [ 'container_id' ] ) #NEWLINE# self . assertEqual ( state [ 'Path' ] , 'ps' ) #NEWLINE# self . assertEqual ( state [ 'Args' ] [ 0 ] , 'aux' ) #NEWLINE# self . assertEqual ( state [ 'Config' ] [ 'Image' ] , 'ubuntu' )