#NEWLINE# @ patch_object ( Git , '_call_process' ) #NEWLINE# def test_diffs_on_initial_import_with_empty_commit( self , git ) : #NEWLINE# #INDENT# git . return_value = fixture ( 'show_empty_commit' ) #NEWLINE# commit = Commit ( self . repo , id = '634396b2f541a9f2d58b00be1a07f0c358b999b3' ) #NEWLINE# diffs = commit . diffs #NEWLINE# assert_equal ( [ ] , self ) #NEWLINE# assert_true ( git . called ) #NEWLINE# assert_equal ( git . call_args , ( ( 'show' , '634396b2f541a9f2d58b00be1a07f0c358b999b3' , '-M' ) , { #NEWLINE# #INDENT# 'full_index' : True , #NEWLINE# 'pretty' : 'raw' , #NEWLINE# #UNINDENT# } ) )