dash, tests

This commit is contained in:
Dobromir Popov
2026-07-14 12:26:10 +02:00
parent d1a1400db9
commit 13d82f8032
11 changed files with 93 additions and 81 deletions

View File

@@ -76,7 +76,7 @@ def test_tracker_records_increasing_hop_latency_for_model_and_hardware(model, ha
layer_count, hf_repo = MODELS[model]
nodes, threads = _start_latency_nodes(5)
tracker = TrackerServer(model_presets={
tracker = TrackerServer(enable_billing=False, model_presets={
model: {
"layers_start": 0,
"layers_end": layer_count - 1,
@@ -142,7 +142,7 @@ def test_tracker_records_increasing_hop_latency_for_model_and_hardware(model, ha
def test_model_speed_dashboard_includes_visualization_and_route_drilldown():
"Model speed dashboard includes visualization and route drilldown\n\nTags: model, node, routing"
tracker = TrackerServer()
tracker = TrackerServer(enable_billing=False)
port = tracker.start()
try:
html = urllib.request.urlopen(f"http://127.0.0.1:{port}/dashboard").read().decode()