#NEWLINE# def test_from_ps_prefixed( self ) : #NEWLINE# #INDENT# self . container_dict [ 'Names' ] = [ ( '/swarm-host-1' + n ) for n in self . container_dict [ 'Names' ] ] #NEWLINE# container = Container . from_ps ( None , self . container_dict , has_been_inspected = True ) #NEWLINE# self . assertEqual ( container . dictionary , { #NEWLINE# #INDENT# 'Id' : self . container_id , #NEWLINE# 'Image' : 'busybox:latest' , #NEWLINE# 'Name' : '/composetest_db_1' , #NEWLINE# #UNINDENT# } )