Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
erikbosch committed Jul 17, 2024
1 parent e94654a commit abdb09a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/array-datatype/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import logging
import signal

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk.vdb.subscriptions import DataPointReply
from velocitas_sdk.vehicle_app import VehicleApp
Expand Down
2 changes: 1 addition & 1 deletion examples/atomic-set/AppManifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"vehicleapp/setValue/request"
],
"writes": [
"vehicleapp/setValue/response",
"vehicleapp/setValue/response"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/atomic-set/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging
import signal

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk.vdb.subscriptions import DataPointReply
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_topic
Expand Down
2 changes: 1 addition & 1 deletion examples/datapoint-set/AppManifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"vehicleapp/setSensor/request"
],
"writes": [
"vehicleapp/setValue/response",
"vehicleapp/setValue/response"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/datapoint-set/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging
import signal

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk.vdb.subscriptions import DataPointReply
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_topic
Expand Down
2 changes: 1 addition & 1 deletion examples/dog-mode/AppManifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{
"type": "grpc-interface",
"config": {
"src": "https://github.com/eclipse/kuksa.val.services/blob/v0.2.0/hvac_service/proto/sdv/edge/comfort/hvac/v1/hvac.proto",
"src": "https://raw.githubusercontent.com/eclipse/kuksa.val.services/v0.2.0/hvac_service/proto/sdv/edge/comfort/hvac/v1/hvac.proto",
"required": {
"methods": [
"SetAcStatus",
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamic-rule/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import logging
import signal

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk import config
from velocitas_sdk.config import Config, MiddlewareType
Expand Down
2 changes: 1 addition & 1 deletion examples/performance-subscribe/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import signal
from datetime import datetime

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk.model import DataPoint
from velocitas_sdk.util.log import ( # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion examples/static-rule/AppManifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
]
}
}
},
}
]
}
2 changes: 1 addition & 1 deletion examples/static-rule/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import logging
import signal

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk.vdb.subscriptions import DataPointReply
from velocitas_sdk.vehicle_app import VehicleApp, subscribe_data_points
Expand Down
2 changes: 1 addition & 1 deletion examples/vdb-queries/AppManifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
]
}
}
},
}
]
}
2 changes: 1 addition & 1 deletion examples/vdb-queries/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import logging
import signal

from sdv_model import Vehicle, vehicle # type: ignore
from vehicle import Vehicle, vehicle # type: ignore

from velocitas_sdk.vdb.subscriptions import DataPointReply
from velocitas_sdk.vehicle_app import VehicleApp
Expand Down

0 comments on commit abdb09a

Please sign in to comment.