diff options
author | Moshe <moshehoa@amdocs.com> | 2018-03-20 10:51:42 +0200 |
---|---|---|
committer | Moshe <moshehoa@amdocs.com> | 2018-03-20 10:55:28 +0200 |
commit | 05acf08ad5ed275e41402115acf177f8c49764f8 (patch) | |
tree | 4fed9f3bc6a30004ae395749d669d64598d8865f /vnftest/contexts/csar.py | |
parent | 99663bada7fccdd87d74541d2de2e414b3e61fce (diff) |
New test case - instantiate vnf
Issue-ID: VNFSDK-181
Change-Id: Ic160a125452473a228d8861ecc457e3c021a2dfb
Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/contexts/csar.py')
-rw-r--r-- | vnftest/contexts/csar.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vnftest/contexts/csar.py b/vnftest/contexts/csar.py index 2dd4fa4..c3e91e9 100644 --- a/vnftest/contexts/csar.py +++ b/vnftest/contexts/csar.py @@ -25,16 +25,10 @@ class CSARContext(Context): __context_type__ = "CSAR" def __init__(self): - self.csar_name = None - self.csar_id = None - self.csar_package_location = None super(CSARContext, self).__init__() def init(self, attrs): - """initializes itself from the supplied arguments""" - self.csar_name = attrs.get("csar_name") - self.csar_id = attrs.get("csar_id") - self.csar_package_location = attrs.get("csar_package_location") + super(CSARContext, self).init(attrs) def deploy(self): """no need to deploy""" |