diff --git a/arango/graph.py b/arango/graph.py index 0933c72e..766cae92 100644 --- a/arango/graph.py +++ b/arango/graph.py @@ -107,9 +107,9 @@ def response_handler(resp: Response) -> bool: return self._execute(request, response_handler) def vertex_collections(self) -> Result[List[str]]: - """Return vertex collections in the graph that are not orphaned. + """Return vertex collections in the graph. - :return: Names of vertex collections that are not orphaned. + :return: Names of vertex collections in Edge Definitions and Orphan Collections. :rtype: [str] :raise arango.exceptions.VertexCollectionListError: If retrieval fails. """ diff --git a/tests/test_graph.py b/tests/test_graph.py index de440642..8ca4d0c2 100644 --- a/tests/test_graph.py +++ b/tests/test_graph.py @@ -330,6 +330,7 @@ def test_create_graph_with_edge_definition(db): orphan_collections=[ovcol_name], ) assert edge_definition in new_graph.edge_definitions() + assert ovcol_name in new_graph.vertex_collections() def test_vertex_management(fvcol, bad_fvcol, fvdocs):