Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Nov 21, 2024
1 parent 5102310 commit 83f1abd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion care/facility/tests/test_asset_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ def validate_invalid_meta(self, asset_class, meta):

def test_asset_class_initialization(self):
asset = self.create_asset(
self.asset_location, asset_class=AssetClasses.ONVIF.name
self.asset_location,
asset_class=AssetClasses.ONVIF.name,
meta={
"local_ip_address": "192.168.0.1",
"camera_access_key": "username:password:access_key",
"middleware_hostname": "middleware.local",
"insecure_connection": True,
},
)
asset_class = AssetClasses[asset.asset_class].value(
{
Expand Down

0 comments on commit 83f1abd

Please sign in to comment.