X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Ftests%2Funit%2Futils.py;h=2f107a71eebb39debf542b7ad1f73824f7b54c0f;hp=a7270721dcf4f49d0b68050ca57143431b53fafa;hb=refs%2Fchanges%2F16%2F10616%2F9;hpb=b84e4a7d4324087219ffb25887319e9ffefdb659 diff --git a/n2vc/tests/unit/utils.py b/n2vc/tests/unit/utils.py index a727072..2f107a7 100644 --- a/n2vc/tests/unit/utils.py +++ b/n2vc/tests/unit/utils.py @@ -82,7 +82,18 @@ class FakeN2VC(MagicMock): detailed_status: str, vca_status: str, entity_type: str, + vca_id: str = None, ): + """ + Write application status to database + + :param: db_dict: DB dictionary + :param: status: Status of the application + :param: detailed_status: Detailed status + :param: vca_status: VCA status + :param: entity_type: Entity type ("application", "machine, and "action") + :param: vca_id: Id of the VCA. If None, the default VCA will be used. + """ self.last_written_values = Dict( { "n2vc_status": status,