-
Notifications
You must be signed in to change notification settings - Fork 4
GA-148 | DiGraph Support #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -405,6 +420,154 @@ def test_graph_edges_crud(load_graph: Any) -> None: | |||
assert db.document(edge_id)["object"]["sub_object"]["foo"] == "baz" | |||
|
|||
|
|||
def test_digraph_edges_crud(load_graph: Any) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somewhen later when we introduce more graph types we should generalize common tests - and only test edge-cases/corner-cases for specific graph types.
1.) Common tests which are globally valid for all graphs
2.) Then per-graph-type tests, like e.g. multiple edges between same nodes for MultiGraph etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
completely makes sense. separate PR to restructure the tests in general will be good to do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just one comment about further testing in the future.
No description provided.