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