Skip to content

Commit 93930d7

Browse files
committed
tests: add "locked" property to mocked rolling-stock
Since #9024, this is required to be able to use: ```sh ./scripts/load-railjson-rolling-stock.sh tests/data/rolling_stocks/fast_rolling_stock.json ``` Signed-off-by: Pierre-Etienne Bougué <[email protected]>
1 parent 3ad5d84 commit 93930d7

6 files changed

+6
-0
lines changed

tests/data/rolling_stocks/electric_rolling_stock.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"railjson_version": "3.2",
3+
"locked": true,
34
"length": 400,
45
"max_speed": 80,
56
"startup_time": 10,

tests/data/rolling_stocks/fast_rolling_stock.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"railjson_version": "3.2",
3+
"locked": true,
34
"length": 400,
45
"max_speed": 80,
56
"startup_time": 10,

tests/data/rolling_stocks/fast_rolling_stock_high_gamma.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"railjson_version": "3.2",
3+
"locked": true,
34
"length": 400,
45
"max_speed": 80,
56
"startup_time": 10,

tests/data/rolling_stocks/short_fast_rolling_stock.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"railjson_version": "3.2",
3+
"locked": true,
34
"length": 15,
45
"max_speed": 20,
56
"startup_time": 10,

tests/data/rolling_stocks/short_slow_rolling_stock.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"railjson_version": "3.2",
3+
"locked": true,
34
"length": 15,
45
"max_speed": 10,
56
"startup_time": 10,

tests/data/rolling_stocks/slow_rolling_stock.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"railjson_version": "3.2",
3+
"locked": true,
34
"length": 400,
45
"max_speed": 10,
56
"startup_time": 10,

0 commit comments

Comments
 (0)