def test_process_template_set_default_gap_if_none_is_specified_ignoring_spaces(self):
    lines = u'ab{{  \\sdsdnexb Companysd }}cd'
    expected = [Token(start_line=0, end_line=0, start_char=0, end_char=2, value=u'ab', gap=DEFAULT_GAP), Token(start_line=0, end_line=0, start_char=28, end_char=30, value=u'cd', gap=NO_GAP)]
    assert (expected == self.template_parsing(lines))
def test_process_template_set_default_gap_if_none_is_specified_ignoring_spaces(self):
    lines = u'ab{{  \\sdsdnexb Companysd }}cd'
    expected = [Token(start_line=0, end_line=0, start_char=0, end_char=2, value=u'ab', gap=DEFAULT_GAP), Token(start_line=0, end_line=0, start_char=28, end_char=30, value=u'cd', gap=NO_GAP)]
    assert (expected == self.template_parsing(lines))