#NEWLINE# def test_references_with_template_case_3( self ) : #NEWLINE# #INDENT# Builder = self . import_builder ( ) #NEWLINE# Builder . load_string ( "\n[Item@TestClass3]:\n    title: ctx.title\n<TestClass>:\n    textinput: textinput\n    TestClass2:\n        Item:\n            title: 'bleh'\n        TestClass2:\n            TestClass2:\n                id: textinput\n        " ) #NEWLINE# wid = TestClass ( ) #NEWLINE# Builder . apply ( wid ) #NEWLINE# self . assertTrue ( hasattr ( wid , 'textinput' ) ) #NEWLINE# self . assertTrue ( ( getattr ( Builder , 'textinput' ) is not None ) )