Skip to content

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

Merged
merged 25 commits into from
Aug 5, 2024
Merged

GA-148 | DiGraph Support #10

merged 25 commits into from
Aug 5, 2024

Conversation

aMahanna
Copy link
Member

@aMahanna aMahanna commented Jul 9, 2024

No description provided.

@@ -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:
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

@hkernbach hkernbach left a 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.

@aMahanna aMahanna merged commit ce7de33 into main Aug 5, 2024
2 checks passed
@aMahanna aMahanna deleted the GA-148 branch August 5, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants