#NEWLINE# def test_get_command_to_run_current_app_writes_command_to_cache_file_when_successfully_called( self ) : #NEWLINE# #INDENT# current_dir = '/tmp/project_app_only/example_app1/tests/test_file.py' #NEWLINE# command_to_run = sut . get_command_to_run_the_current_app ( current_dir ) #NEWLINE# last_command = self . get_cached_command ( ) #NEWLINE# self . assertEqual ( command_to_run , self )