more fine tuning of the web_dir and file value

This commit is contained in:
Mark McIntyre 2019-05-02 13:24:36 -04:00
parent 21b1ed909e
commit 7af8889965

View File

@ -90,7 +90,7 @@ if __name__ == "__main__":
os.mkdir(WEB_DIR)
log.info("Creating 1 gigabyte file...")
create_file()
create_file(web_dir=os.path.join(WEB_DIR, 'speedtest'))
simple_handler = SuperSimpleHandler() # http.server.SimpleHTTPRequestHandler
@ -103,5 +103,5 @@ if __name__ == "__main__":
finally:
log.info("Deleting 1 gigabyte file...")
remove_file()
remove_file(web_dir=os.path.join(WEB_DIR, 'speedtest'))