''

def test_simple_example(self):

    file_contents = "\n                                                >One\n                                                ABCD\n\n                                                #    this    comment    (and    the    blank    line    above)    won't    be    included\n                                                >Two\n                                                ABCD\n                                                EFGH\n                                                "
    def fasta_header(line):
        return line.startswith('>')
    def id_seq(block):
        return {'id': block[0][1:], 'seq': ''.join(block[1:])}
    (contents, provider, data) = self.contents_provider_and_data(contents=file_contents, new_block_delim_fn=fasta_header, block_filter_fn=id_seq)
    self.assertEqual(data, [{'id': 'One', 'seq': 'ABCD'}, {'id': 'Two', 'seq': 'ABCDEFGH'}])
    self.assertCounters(provider, 2, 2, 2)
