'Test merge_message_path().'

def test_merge_message_path(self):

    self.touch(u'.git/SQUASH_MSG')
    self.assertEqual(gitcmds.merge_message_path(), os.path.abspath(u'.git/SQUASH_MSG'))
    self.touch(u'.git/MERGE_MSG')
    self.assertEqual(gitcmds.merge_message_path(), os.path.abspath(u'.git/MERGE_MSG'))
    os.unlink(gitcmds.merge_message_path())
    self.assertEqual(gitcmds.merge_message_path(), os.path.abspath(u'.git/SQUASH_MSG'))
    os.unlink(gitcmds.merge_message_path())
    self.assertEqual(gitcmds.merge_message_path(), None)
