Skip to content

Commit abdb09a

Browse files
committed
Fix test cases
Fixes things that seems to be obviously wrong, resulting in that "velocitas init" fail or that a syntax error is reported when trying to start the app.
1 parent e94654a commit abdb09a

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

examples/array-datatype/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import logging
1919
import signal
2020

21-
from sdv_model import Vehicle, vehicle # type: ignore
21+
from vehicle import Vehicle, vehicle # type: ignore
2222

2323
from velocitas_sdk.vdb.subscriptions import DataPointReply
2424
from velocitas_sdk.vehicle_app import VehicleApp

examples/atomic-set/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"vehicleapp/setValue/request"
2828
],
2929
"writes": [
30-
"vehicleapp/setValue/response",
30+
"vehicleapp/setValue/response"
3131
]
3232
}
3333
}

examples/atomic-set/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import logging
1818
import signal
1919

20-
from sdv_model import Vehicle, vehicle # type: ignore
20+
from vehicle import Vehicle, vehicle # type: ignore
2121

2222
from velocitas_sdk.vdb.subscriptions import DataPointReply
2323
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_topic

examples/datapoint-set/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"vehicleapp/setSensor/request"
2929
],
3030
"writes": [
31-
"vehicleapp/setValue/response",
31+
"vehicleapp/setValue/response"
3232
]
3333
}
3434
}

examples/datapoint-set/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import logging
1818
import signal
1919

20-
from sdv_model import Vehicle, vehicle # type: ignore
20+
from vehicle import Vehicle, vehicle # type: ignore
2121

2222
from velocitas_sdk.vdb.subscriptions import DataPointReply
2323
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_topic

examples/dog-mode/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{
3232
"type": "grpc-interface",
3333
"config": {
34-
"src": "https://github.com/eclipse/kuksa.val.services/blob/v0.2.0/hvac_service/proto/sdv/edge/comfort/hvac/v1/hvac.proto",
34+
"src": "https://raw.githubusercontent.com/eclipse/kuksa.val.services/v0.2.0/hvac_service/proto/sdv/edge/comfort/hvac/v1/hvac.proto",
3535
"required": {
3636
"methods": [
3737
"SetAcStatus",

examples/dynamic-rule/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import logging
2121
import signal
2222

23-
from sdv_model import Vehicle, vehicle # type: ignore
23+
from vehicle import Vehicle, vehicle # type: ignore
2424

2525
from velocitas_sdk import config
2626
from velocitas_sdk.config import Config, MiddlewareType

examples/performance-subscribe/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import signal
1919
from datetime import datetime
2020

21-
from sdv_model import Vehicle, vehicle # type: ignore
21+
from vehicle import Vehicle, vehicle # type: ignore
2222

2323
from velocitas_sdk.model import DataPoint
2424
from velocitas_sdk.util.log import ( # type: ignore

examples/static-rule/AppManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
]
1616
}
1717
}
18-
},
18+
}
1919
]
2020
}

examples/static-rule/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import logging
1919
import signal
2020

21-
from sdv_model import Vehicle, vehicle # type: ignore
21+
from vehicle import Vehicle, vehicle # type: ignore
2222

2323
from velocitas_sdk.vdb.subscriptions import DataPointReply
2424
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_data_points

0 commit comments

Comments
 (0)