'Test happy path getting violation count from xsscommitlint report.'

def test_get_xsscommitlint_count_happy(self):

    report = textwrap.dedent('\n                                                Linting    lms/templates/navigation.html:\n\n                                                2    violations    total\n\n                                                Linting    scripts/tests/templates/test.underscore:\n\n                                                3    violations    total\n                                ')
    with open(self.f.name, 'w') as f:
        f.write(report)
    count = pavelib.quality._get_xsscommitlint_count(self.f.name)
    self.assertEqual(count, 5)
