-
Notifications
You must be signed in to change notification settings - Fork 12
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
Replace vcr-py for tests #1198
base: master
Are you sure you want to change the base?
Replace vcr-py for tests #1198
Conversation
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.
Looks already pretty good. Maybe you can comment on the state of the commented-out code. I think some of that could be revived in a follow-up.
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.
Why not download from static.webknossos.org in the CI?
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.
What do you think about this?
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.
Sounds good, we could add it in the local_wk_setup.sh to ensure that the tests are running local and in the CI.
assert segment_info.anchor_position == (2785, 4423, 1792) | ||
segment_info.name = "Test Segment" | ||
segment_info.color = (1, 0, 0, 1) | ||
# segment_info = annotation.get_volume_layer_segments("Volume")[2504698] |
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.
Can we bring this back?
"https://webknossos.org/links/93zLg9U9vJ3c_UWp", | ||
"http://localhost:9000/datasets/Organization_X/l4_sample", | ||
"http://localhost:9000/datasets/Organization_X/l4_sample/view", | ||
# "http://localhost:9000/datasets/Organization_X/l4_sample_dev_sharing/view?token=ilDXmfQa2G8e719vb1U9YQ#%7B%22orthogonal%7D", |
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.
Would be good to also test sharing links and short links. Can be a followup.
Description:
Todos:
Make sure to delete unnecessary points or to check all before merging:
Fixing tests: