def test_create_vnffgd(self): vnffgd_obj = utils.get_dummy_vnffgd_obj() result = self.nfvo_plugin.create_vnffgd(self.context, vnffgd_obj) self.assertIsNotNone(result) self.assertIn('id', result) self.assertIn('template', result) self.assertIn('template_source', result) self.assertEqual('onboarded', result['template_source'])
def test_create_vnffgd(self): vnffgd_obj = utils.get_dummy_vnffgd_obj() result = self.nfvo_plugin.create_vnffgd(self.context, vnffgd_obj) self.assertIsNotNone(result) self.assertIn('id', result) self.assertIn('template', result)