more fine tuning of the web_dir and file value
This commit is contained in:
parent
21b1ed909e
commit
7af8889965
@ -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'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user