def test_re_render(self): # pylint: disable=unused-variable,no-self-use python_path = write_extension(__file__, 'py') expected = re_render.read_source(python_path) actual = re_render.re_render(python_path)
def test_read_source(self): python_path = write_extension(__file__, 'py') source_text = re_render.read_source(python_path) self.assertTrue('test_read_source' in source_text)