#NEWLINE# def reuse_test( self ) : #NEWLINE# #INDENT# self . client = TestClient ( ) #NEWLINE# self . _create ( 'Hello0' , '0.1' ) #NEWLINE# self . _create ( 'Hello1' , '0.1' , [ 'Hello0/0.1@lasote/stable' ] ) #NEWLINE# self . _create ( 'Hello2' , '0.1' , [ 'Hello1/0.1@lasote/stable' ] , export = False ) #NEWLINE# self . client . run ( 'info' ) #NEWLINE# expected_output = textwrap . dedent ( '            Hello2/0.1@PROJECT\n                URL: myurl\n                License: MIT\n                Requires:\n                    Hello1/0.1@lasote/stable\n            Hello0/0.1@lasote/stable\n                Remote: None\n                URL: myurl\n                License: MIT\n                Updates: You have the latest version (None)\n                Required by:\n                    Hello1/0.1@lasote/stable\n            Hello1/0.1@lasote/stable\n                Remote: None\n                URL: myurl\n                License: MIT\n                Updates: You have the latest version (None)\n                Required by:\n                    Hello2/0.1@PROJECT\n                Requires:\n                    Hello0/0.1@lasote/stable' ) #NEWLINE# self . assertIn ( expected_output , self . client . user_io . out )