-
Notifications
You must be signed in to change notification settings - Fork 26
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
Adjust tests for the added email requirement for contact person #1438
Conversation
This environment var is needed for running the latest `dandiarchive/dandiarchive-api` image
This update is for meeting the requirement of having email for a contributor who is a contact person imposed by dandischema, dandi/dandi-schema#235
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1438 +/- ##
==========================================
+ Coverage 88.54% 88.63% +0.08%
==========================================
Files 77 77
Lines 10561 10563 +2
==========================================
+ Hits 9351 9362 +11
+ Misses 1210 1201 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The current test failures in Ubuntu systems may be related to the
|
isn't it again just due to added |
=== Do not change lines below === { "chain": [], "cmd": "sed -i -e 's/^\\( *\\)\\(\"name\": \"Tests, Dandi-Cli\",\\)/\\1\\2\\n\\1\"email\": \"nemo@example.com\",/g' dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json dandi/cli/tests/data/update_dandiset_from_doi/elife.json dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json dandi/cli/tests/data/update_dandiset_from_doi/nature.json dandi/cli/tests/data/update_dandiset_from_doi/neuron.json", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
yeap -- I |
ok -- now we have only 3.12s failing due to
in
which is indeed still in use! https://github.com/NeurodataWithoutBorders/nwbinspector/blob/dev/src/nwbinspector/testing.py#L6 filed but I think we are done here, taking out of draft and merging. |
now 100% certain if release would workout since we would still fail on 3.12 due to nwbinspector, but let's try |
🚀 PR was released in |
This PR updates
SampleDandisetFactory
used for testing to meet the requirement imposed by dandi-schema of having email for a contributor who is a contact person, dandi/dandi-schema#235.Additionally, it sets
DJANGO_DANDI_DEV_EMAIL
needed for running the latestdandiarchive/dandiarchive-api
image in testing.