more fine tuning of the web_dir and file value
This commit is contained in:
parent
21b1ed909e
commit
7af8889965
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ if __name__ == "__main__":
|
||||||
os.mkdir(WEB_DIR)
|
os.mkdir(WEB_DIR)
|
||||||
|
|
||||||
log.info("Creating 1 gigabyte file...")
|
log.info("Creating 1 gigabyte file...")
|
||||||
create_file()
|
create_file(web_dir=os.path.join(WEB_DIR, 'speedtest'))
|
||||||
|
|
||||||
simple_handler = SuperSimpleHandler() # http.server.SimpleHTTPRequestHandler
|
simple_handler = SuperSimpleHandler() # http.server.SimpleHTTPRequestHandler
|
||||||
|
|
||||||
|
@ -103,5 +103,5 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
log.info("Deleting 1 gigabyte file...")
|
log.info("Deleting 1 gigabyte file...")
|
||||||
remove_file()
|
remove_file(web_dir=os.path.join(WEB_DIR, 'speedtest'))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue