-
Notifications
You must be signed in to change notification settings - Fork 20
Add unit test for dics_coherence_external #14
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
tests/test_connectivity.py
Outdated
| dics_coherence_external | ||
| ) | ||
| from conpy.connectivity import _BaseConnectivity, _get_vert_ind_from_label | ||
| from conpy.connectivity import BaseConnectivity, _get_vert_ind_from_label |
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 changed this as some point. _BaseConnectivity should be a private class.
tests/test_connectivity.py
Outdated
| label_con = _make_label_connectivity() | ||
|
|
||
| # Test BaseConnectivity | ||
| assert not baseCon.is_compatible(label_con) |
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.
| assert not baseCon.is_compatible(label_con) | |
| assert not con_base.is_compatible(label_con) |
The python convention is to use snake case 🐍 for variable names (and camel case for class names).
|
I've added CI robots that run the entire test suite. They are currently unhappy because of the |
|
The robots seem to be happy now |
|
very nice work, thanks! |
Basically as title says. It's not perfect, but 100% coverage except for the case of several external signals.
I was unable to run the entire test suite, but at least this test works on my machine.