Improve tests

This commit is contained in:
Loic Guegan 2022-06-30 12:11:59 +02:00
parent 1bef51d878
commit d0ae9f3296
85 changed files with 77 additions and 44 deletions

View file

@ -39,4 +39,4 @@ def callback(simulator):
new_lat_eth0=simulator.netmat["eth0"]["latency"]+1/2
simulator.update_network({"wlan0":{"bandwidth":B, "latency":new_lat_wlan0, "is_wired":False},"eth0":{"bandwidth":B, "latency":new_lat_eth0, "is_wired":True}})
s.run(breakpoints_every=1,breakpoint_callback=callback,debug=True)
s.run(breakpoints_every=1,breakpoint_callback=callback)