#NEWLINE# def test_move_subtree_down_level( self ) : #NEWLINE# #INDENT# shmup = Genre . objects . get ( id = 6 ) #NEWLINE# platformer = Genre . objects . get ( id = 2 ) #NEWLINE# shmup . parent = platformer #NEWLINE# shmup . save ( ) #NEWLINE# self . assertTreeEqual ( [ platformer ] , '6 2 1 2 9 14' ) #NEWLINE# self . assertTreeEqual ( [ platformer ] , '2 1 1 1 2 15' ) #NEWLINE# self . assertTreeEqual ( Genre . objects . all ( ) , '\n            1 - 1 0 1 16\n            2 1 1 1 2 15\n            3 2 1 2 3 4\n            4 2 1 2 5 6\n            5 2 1 2 7 8\n            6 2 1 2 9 14\n            7 6 1 3 10 11\n            8 6 1 3 12 13\n            9 - 2 0 1 6\n            10 9 2 1 2 3\n            11 9 2 1 4 5\n        ' )