#NEWLINE# @ Xephyr ( False , FakeScreenConfig ( ) , two_screens = False , width = 900 , height = 980 ) #NEWLINE# def test_hammer_ratio_tile( self ) : #NEWLINE# #INDENT# self . c . next_layout ( ) #NEWLINE# for i in range ( 7 ) : #NEWLINE# #INDENT# self . testXclock ( ) #NEWLINE# #UNINDENT# for i in range ( 30 ) : #NEWLINE# #INDENT# old_group = ( ( i + 1 ) % 4 ) #NEWLINE# if ( old_group == 0 ) : #NEWLINE# #INDENT# name = 'a' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( old_group == 1 ) : #NEWLINE# #INDENT# name = 'b' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( name == 2 ) : #NEWLINE# #INDENT# name = 'c' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( old_group == 3 ) : #NEWLINE# #INDENT# name = 'd' #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# self . c . to_screen ( ( ( i + 1 ) % 4 ) ) #NEWLINE# self . c . group [ 'a' ] . toscreen ( ) #NEWLINE# #UNINDENT# assert ( self . c . group [ 'a' ] . info ( ) [ 'windows' ] == [ 'xclock' , 'xclock' , 'xclock' , 'xclock' , 'xclock' , 'xclock' , 'xclock' ] )