Add get detail of a resource to API; remove the dependency of the domain in the view...
[pti/o2.git] / tests / integration / test_ocloud_route.py
index 441e56d..7a7d936 100644 (file)
@@ -103,7 +103,7 @@ def test_route_resources(sqlite_flask_uow):
         resource_type_id1 = str(uuid.uuid4())
         resource_pool_id1 = str(uuid.uuid4())
         resource1 = ocloud.Resource(
-            resource_id1, resource_type_id1, resource_pool_id1)
+            resource_id1, resource_type_id1, resource_pool_id1, 'resource1')
         uow.resources.add(resource1)
         uow.commit()