def METHOD_NAME(ing):
    handle, f_name = tempfile.mkstemp(suffix=".py")
    f = os.fdopen(handle, "w")
    f.write("print('Hello World')")
    f.close()
    ing.add_source_file(f_name)
    assert Source.create(f_name) in ing.sources
    os.remove(f_name)