def test_process_template_recognizes_template_with_only_gap(self):
    lines = u'ab{{10}}cd'
    expected = [Token(start_line=0, end_line=0, start_char=0, end_char=2, value=u'ab', gap=10), Token(start_line=0, end_line=0, start_char=8, end_char=10, value=u'cd', gap=NO_GAP)]
    assert (expected == self.template_parsing(lines))
def test_process_template_recognizes_template_with_only_gap(self):
    lines = u'ab{{10}}cd'
    expected = [Token(start_line=0, end_line=0, start_char=0, end_char=2, value=u'ab', gap=10), Token(start_line=0, end_line=0, start_char=8, end_char=10, value=u'cd', gap=NO_GAP)]
    assert (expected == self.template_parsing(lines))