Skip to content

Commit b5be1ec

Browse files
Copilotcandleindark
andcommitted
docs: Add new test environment variables to DEVELOPMENT.md
Co-authored-by: candleindark <[email protected]>
1 parent 1d330a6 commit b5be1ec

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

DEVELOPMENT.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,19 @@ 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_TEST_INSTANCE_NAME` -- Sets the instance name for the Docker Compose
94+
test environment (passed as `DJANGO_DANDI_INSTANCE_NAME`). Defaults to
95+
`DANDI`. Useful for testing vendorized instances.
96+
97+
- `DANDI_TEST_INSTANCE_IDENTIFIER` -- Sets the instance identifier (RRID) for
98+
the Docker Compose test environment (passed as
99+
`DJANGO_DANDI_INSTANCE_IDENTIFIER`). Defaults to `RRID:ABC_123456`. Useful
100+
for testing vendorized instances.
101+
102+
- `DANDI_TEST_DOI_PREFIX` -- Sets the DOI API prefix for the Docker Compose
103+
test environment (passed as `DJANGO_DANDI_DOI_API_PREFIX`). Defaults to
104+
`10.80507`. Useful for testing vendorized instances.
105+
93106
- `DANDI_DEVEL_INSTRUMENT_REQUESTS_SUPERLEN` -- When set, the `upload()`
94107
function will patch `requests` to log the results of calls to
95108
`requests.utils.super_len()`

0 commit comments

Comments
 (0)