

def test_blueprints(self):
    self._create_basic_deployment()
    blueprints = self.client.blueprints.list()
    self.assertEqual(1, len(blueprints))
    blueprint_id = blueprints[0].id
    blueprint_by_id = self.client.blueprints.get(blueprint_id)
    self.assertDictContainsSubset(blueprint_by_id, blueprints[0])
    self.assertDictContainsSubset(blueprints[0], blueprint_by_id)

dataset/ETHPy150Open cloudify-cosmo/cloudify-manager/tests/workflow_tests/test_rest_api.py RestAPITest.test_blueprints/original