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

@ -38,4 +38,4 @@ def callback(simulator):
new_bw_eth0=simulator.netmat["eth0"]["bandwidth"]*2
simulator.update_network({"wlan0":{"bandwidth":new_bw_wlan0, "latency":L, "is_wired":False}, "eth0":{"bandwidth":new_bw_eth0, "latency":L, "is_wired":True}})
s.run(breakpoints_every=1,breakpoint_callback=callback,debug=True)
s.run(breakpoints_every=1,breakpoint_callback=callback)