fix vcpeutils
[testsuite/python-testing-utils.git] / robotframework-onap / tests / vcpeutils / SoUtils_test.py
1 from unittest import TestCase
2
3
4 from vcpeutils.SoUtils import *
5
6
7 class SoUtilsTest(TestCase):
8
9     def test(self):
10         input_dict = dict()
11         SoUtils.add_related_instance(input_dict, "test", "test2")
12         results = dict()
13         results['relatedInstanceList'] = [{"relatedInstance": {"instanceId": "test", "modelInfo": "test2"}}]
14         self.assertDictContainsSubset(results, input_dict)