Add tests.

This commit is contained in:
Taus Brock-Nannestad
2019-01-17 14:44:23 +01:00
parent 7c3dc929ac
commit ad429f5ae1
4 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
from tempfile import mktemp
def write_results(results):
filename = mktemp()
with open(filename, "w+") as f:
f.write(results)
print("Results written to", filename)