#NEWLINE# def test_with_eight_spaces( self ) : #NEWLINE# #INDENT# Builder = self . import_builder ( ) #NEWLINE# Builder . load_string ( "\n<TestClass>:\n        on_press:\n                print('hello world')\n                print('this is working !')\n                self.a = 1\n" ) #NEWLINE# wid = TestClass ( ) #NEWLINE# Builder . apply ( wid ) #NEWLINE# wid . a = 0 #NEWLINE# self . assertTrue ( ( 'on_press' in self . binded_func ) ) #NEWLINE# wid . binded_func [ 'on_press' ] ( ) #NEWLINE# self . assertEquals ( wid . a , 1 )