'Ensure that commit messages are stripped of comments'

def test_Commit_strip_comments(self):

    msg = u'subject\n\n#comment\nbody'
    expect = u'subject\n\nbody\n'
    actual = cmds.Commit.strip_comments(msg)
    self.assertEqual(expect, actual)
