def test_does_not_recognize_correct_line_single_glyphs(self):
     line = 'E|-----1---2---3---|----4---5---6---|'
     self.assertIsNone(UNMANAGEABLE_SPACING_REGEX.match(line))
 def test_does_not_recognize_correct_line_even_glyphs(self):
     line = 'E|--101010--|'
     match = UNMANAGEABLE_SPACING_REGEX.match(line)
     self.assertIsNone(match)
 def test_finds_incorrect_element(self):
     line = 'A|----1--2--3---|----456---'
     match = UNMANAGEABLE_SPACING_REGEX.match(line)
     self.assertIsNotNone(match)
     self.assertEqual(match.group('number_run'), '456')