Skip to content

Commit

Permalink
fix GeoServer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Aug 31, 2023
1 parent df8aa1e commit 2a1290d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -6910,8 +6910,8 @@ def test_GetResourceTypes_ServiceGeoserver(self):
Workspace.resource_type_name,
]
struct_allowed = {
Service.resource_type_name: [Workspace.resource_type_name, Route.resource_type_name],
Route.resource_type_name: [Workspace.resource_type_name, Route.resource_type_name],
Service.resource_type_name: [Route.resource_type_name, Workspace.resource_type_name],
Route.resource_type_name: [Route.resource_type_name, Workspace.resource_type_name],
Workspace.resource_type_name: [Layer.resource_type_name, Process.resource_type_name],
Layer.resource_type_name: [],
Process.resource_type_name: [],
Expand All @@ -6934,7 +6934,7 @@ def test_GetResourceTypes_ServiceGeoserver(self):
utils.check_val_is_in("resource_types_allowed", svc)
utils.check_val_is_in("resource_structure_allowed", svc)
utils.check_val_equal(svc["resource_child_allowed"], True)
utils.check_val_equal(svc["resource_types_allowed"], res_types_allowed)
utils.check_all_equal(svc["resource_types_allowed"], res_types_allowed, any_order=True)
utils.check_val_equal(svc["resource_structure_allowed"], struct_allowed)

path = "/resources/{}/types".format(svc_id)
Expand Down

0 comments on commit 2a1290d

Please sign in to comment.