From f0def0f8d82308d043d9abb0e83a8f38a452885b Mon Sep 17 00:00:00 2001 From: Isaac To Date: Wed, 1 May 2024 13:19:41 -0700 Subject: [PATCH] Update factory function for creating sample Dandiset for tests This update is for meeting the requirement of having email for a contributor who is a contact person imposed by dandischema, https://github.com/dandi/dandi-schema/pull/235 --- dandi/tests/fixtures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dandi/tests/fixtures.py b/dandi/tests/fixtures.py index 2b9a40e89..f27e1dcea 100644 --- a/dandi/tests/fixtures.py +++ b/dandi/tests/fixtures.py @@ -548,6 +548,7 @@ def mkdandiset(self, name: str, embargo: bool = False) -> SampleDandiset: { "schemaKey": "Person", "name": "Tests, Dandi-Cli", + "email": "nemo@example.com", "roleName": ["dcite:Author", "dcite:ContactPerson"], } ],