Skip to content

Commit 5343d82

Browse files
committed
Fixed K parameter in \help endpoint and deleted duplicated tests
1 parent b63fcc9 commit 5343d82

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def simulation_help():
179179
mu: > 0 (default: 10.0)
180180
network: "NSFNet", "Cost239", "EuroCore", "GermanNet", "UKNet" (default: "NSFNet")
181181
bitrate: "fixed-rate" or "flex-rate" (default: "fixed-rate")
182-
K: 1-10 (default: 3)
182+
K: 1-6 (default: 3)
183183
184184
EXAMPLE - STANDARD REQUEST:
185185
curl -X POST -H "Content-Type: application/json" \\

tests/test_run_simulation_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_stream_execution_failure(self):
5353
f.write("#!/bin/bash\necho 'Line 1'\necho 'Line 2'\necho 'Error line' >&2\nexit 1")
5454
os.chmod("./src/simulation.out.temp", 0o755)
5555

56-
# Backup the real executable and replace it with our failing one
56+
# Backup the real executable
5757
if os.path.exists("./src/simulation.out"):
5858
os.rename("./src/simulation.out", "./src/simulation.out.backup")
5959
os.rename("./src/simulation.out.temp", "./src/simulation.out")

0 commit comments

Comments
 (0)