Add testcase of delete vnf instance
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / vnfs / vnf_cancel / delete_vnf_identifier.py
index b5e28ba..5cf3659 100644 (file)
@@ -23,8 +23,8 @@ class DeleteVnf:
     def do_biz(self):
         sel_vnfs = NfInstModel.objects.filter(pk=self.nf_inst_id)
         if not sel_vnfs.exists():
-            raise NFLCMException('VnfInst(%s) does not exist.' % self.nf_inst_id)
+            raise NFLCMException('VnfInst(%s) does not exist' % self.nf_inst_id)
         sel_vnf = sel_vnfs[0]
         if sel_vnf.instantiationState != 'VNF_INSTANTIATED':
             raise NFLCMException("No instantiated vnf")
-        pass
\ No newline at end of file
+        pass