'Test getting violation count from truncated xsscommitlint report.'

def test_get_xsscommitlint_count_bad_counts(self):

    report = textwrap.dedent('\n                                                Linting    lms/templates/navigation.html:\n                                ')
    with open(self.f.name, 'w') as f:
        f.write(report)
    count = pavelib.quality._get_xsscommitlint_count(self.f.name)
    self.assertIsNone(count)
