Skip to content

Commit

Permalink
Merge branch 'main' into feature/codeql_scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
BramVWS authored Mar 3, 2025
2 parents 57a521e + c8f0951 commit bb40836
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rocky/rocky/views/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def get_ooi_properties(self, ooi: OOI) -> dict:
class SingleOOITreeMixin(SingleOOIMixin):
@cached_property
def tree(self) -> ReferenceTree:
return self.get_ooi_tree(depth=1)
return self.get_ooi_tree(depth=2)

def get_depth(self):
try:
Expand Down
2 changes: 1 addition & 1 deletion rocky/tests/objects/test_objects_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_ooi_graph(rf, client_member, mock_organization_view_octopoes):
assert response.status_code == 200
mock_organization_view_octopoes().get_tree.assert_has_calls(
[
call(Reference("Network|testnetwork"), valid_time=ANY, depth=1),
call(Reference("Network|testnetwork"), valid_time=ANY, depth=2),
call(Reference("Network|testnetwork"), valid_time=ANY, depth=9),
]
)
Expand Down
2 changes: 1 addition & 1 deletion rocky/tests/objects/test_objects_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_ooi_tree(rf, client_member, mock_organization_view_octopoes):
assert response.status_code == 200
mock_organization_view_octopoes().get_tree.assert_has_calls(
[
call(Reference("Network|testnetwork"), valid_time=ANY, depth=1),
call(Reference("Network|testnetwork"), valid_time=ANY, depth=2),
call(Reference("Network|testnetwork"), valid_time=ANY, depth=9),
]
)
Expand Down

0 comments on commit bb40836

Please sign in to comment.