#NEWLINE# @ patch ( 'gitFunctions.shell' ) #NEWLINE# def test_restore_shed_gitignore_without_sibling_jazzignore( self , shellmock ) : #NEWLINE# #INDENT# with open ( testhelper . getrelativefilename ( './resources/test_ignore_git_status_z.txt' ) , 'r' ) as file : #NEWLINE# #INDENT# with patch ( 'os.path.exists' , return_value = True ) : #NEWLINE# #INDENT# Commiter . restore_shed_gitignore ( file . readlines ( ) ) #NEWLINE# calls = [ ] #NEWLINE# shellmock . assert_has_calls ( calls )