<s> from constructor . utils import fill_template , preprocess <EOL> def test_fill_template ( ) : <EOL> template = """<STR_LIT>""" <EOL> res = """<STR_LIT>""" <EOL> info = { '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' , '<STR_LIT>' : '<STR_LIT>' } <EOL> assert fill_template ( template , info ) == res <EOL> def test_preprocess ( ) : <EOL> code = """<STR_LIT>""" <EOL> res = """<STR_LIT>""" <EOL> assert preprocess ( code , dict ( x = <NUM_LIT:1> ) ) == res <EOL> def main ( ) : <EOL> test_fill_template ( ) <EOL> test_preprocess ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
