Beispiel #1
0
 def test_generator_calls_filter(self, coordinate_filter_mock):
     table_parser = TableParser()
     table_parser._names = ['irrelevant_name']
     table_parser._coordinates = ['to_filter']
     table_parser._descriptions = ['irrelevant_description']
     generator = table_parser._generator()
     list(generator)
     coordinate_filter_mock.match.assert_called_with('to_filter')