-
Notifications
You must be signed in to change notification settings - Fork 4
GA-163 | test_graph
#33
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
will fail
test_graph
Test File
test_graph
Test Filetest_graph
Test File
# TODO: Revisit when DB-based subgraphing is supported | ||
# class TestEdgeSubgraph: |
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.
just highlighting: skipping this entire suite right now because Subgraphing isn't really "officially" supported...
if not (self.FETCHED_ALL_DATA or self.FETCHED_ALL_IDS): | ||
self._fetch_all() | ||
|
||
yield from self.data.keys() |
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.
This is good. Just as a global comment: At some point we should think about in general all tasks that could require some or long time to finish (e.g. loading a lot of edges, or loading huge edges, etc.) Some indicator for that would be great somewhen or visibility.
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.
ya good point. Something like a temporary spinner or a progress bar would be useful to have
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.
I've worked with these progress libraries before, could be something we can introduce:
Implementing https://github.com/networkx/networkx/blob/main/networkx/classes/tests/test_graph.py assertions for NetworkX-ArangoDB
Related to arangoml/phenolrs#32
Note that the following tests in
test_graph.py
are intentionally skipped for now:test_copy
(reason: graph copying is not supported yet)test_class_copy
(reason: graph copying is not supported yet)test_to_undirected
(reason: graph copying is not supported yet)test_to_directed
(reason: graph copying is not supported yet)test_subgraph
(reason: subgraphing is not supported yet)test_pickle
(reason: TBD)