Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_get_mapfiles():
tf = tempfile.NamedTemporaryFile(suffix=".map")
print(tf.name)
mapfiles = [tf.name]
found_mapfiles = cli.get_mapfiles(mapfiles)
print(found_mapfiles)
os.remove(tf.name)