def test_rst_header_levels(self):
        text = open(os.path.join(FILES_DIR, 'rst_header.txt')).read()
        expected = open(os.path.join(FILES_DIR, 'rst_header_expected.txt')).read()
        result = formatter(text, filter_name='restructuredtext')
        self.assertEqual(result, expected)
Make sure the rST filter fetches the entire document rather just the
dataset/ETHPy150Open bartTC/django-markup/src/django_markup/tests/test_filter.py/FormatterTestCase.test_rst_header_levels