Skip to content

Commit c49b51b

Browse files
authored
Merge pull request #1757 from dandi/copilot/sub-pr-1756
docs: Document vendorizable test environment variables
2 parents 5834722 + 56c7bfa commit c49b51b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

DEVELOPMENT.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ development command line options.
9090
- `DANDI_TESTS_NO_VCR` — When set, the use of vcrpy to playback captured HTTP
9191
requests during testing will be disabled
9292

93+
- `DANDI_TESTS_INSTANCE_NAME` -- Sets the instance name for the dandi-archive instance used for
94+
testing. Defaults to `"DANDI"`. Useful for testing dandi-cli against a dandi-archive instance with
95+
a particular vendor information.
96+
97+
- `DANDI_TESTS_INSTANCE_IDENTIFIER` -- Sets the instance identifier (RRID) for the dandi-archive
98+
instance used for testing. Defaults to `"RRID:ABC_123456"`. Useful for testing dandi-cli against
99+
a dandi-archive instance with a particular vendor information.
100+
101+
- `DANDI_TESTS_DOI_PREFIX` -- Sets the DOI API prefix for the dandi-archive instance used for
102+
testing. Defaults to `"10.80507"`. Useful for testing dandi-cli against a dandi-archive instance
103+
with a particular vendor information.
104+
93105
- `DANDI_DEVEL_INSTRUMENT_REQUESTS_SUPERLEN` -- When set, the `upload()`
94106
function will patch `requests` to log the results of calls to
95107
`requests.utils.super_len()`

0 commit comments

Comments
 (0)