#NEWLINE# def test_should_squash_every_layer( self ) : #NEWLINE# #INDENT# dockerfile = '\n        FROM busybox:1.24.0\n        RUN touch /tmp/test1\n        RUN touch /tmp/test2\n        CMD /bin/env\n        LABEL foo bar\n        ' #NEWLINE# with self . Image ( dockerfile ) as image : #NEWLINE# #INDENT# with self . SquashedImage ( image ) as squashed_image : #NEWLINE# #INDENT# pass