X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tests%2Fintegration%2Ftest_clientdriver_fake_stx_sa.py;h=25bc3adac5195b8d97677318c978b60bd25f3508;hb=8be81dfad35b08c4de77168e885bb18253069771;hp=8f262b8dcf42fc819500169135c9f4ee3d6829d5;hpb=bff814cb30e501eb1e54aecb8110a78d41e7bdb0;p=pti%2Fo2.git diff --git a/tests/integration/test_clientdriver_fake_stx_sa.py b/tests/integration/test_clientdriver_fake_stx_sa.py index 8f262b8..25bc3ad 100644 --- a/tests/integration/test_clientdriver_fake_stx_sa.py +++ b/tests/integration/test_clientdriver_fake_stx_sa.py @@ -23,6 +23,7 @@ import uuid import json from o2ims.adapter.clients.ocloud_sa_client import StxSaOcloudClient from o2ims.domain import stx_object as ocloudModel +from o2ims.domain.resource_type import ResourceTypeEnum # pytestmark = pytest.mark.usefixtures("mappers") @@ -32,7 +33,7 @@ class FakeStxSaClientImp(object): super().__init__() def getInstanceInfo(self) -> ocloudModel.StxGenericModel: - model = ocloudModel.StxGenericModel() + model = ocloudModel.StxGenericModel(ResourceTypeEnum.OCLOUD) model.id = uuid.uuid4() model.name = "stx1" model.updatetime = datetime.now