샘플
Pin python-dotenv load_dotenv return semantics, dotenv_values isolation, valueless key handling, and interpolation precedence
sha256:6032931e56a20b51b652c9f7c77e9a8fb979e1513bcd63e107668998f1f1f80f
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Pin python-dotenv load_dotenv return semantics, dotenv_values isolation, valueless key handling, and interpolation precedence HOW
- 패키지
- python-dotenv 1.2.2
- 환경
- python
- 생성일
- 2026-08-17T03:19:39Z
컨트랙트
- assert load_dotenv returns False on missing, empty, or comments-only files
- assert load_dotenv returns True when valid keys exist even under override=False with pre-existing os.environ
- assert valueless keys parse as None in dotenv_values and are omitted from os.environ by load_dotenv
- assert dotenv_values does not mutate os.environ and prioritizes file definitions during interpolation
- assert load_dotenv with override=False resolves interpolated variables from os.environ over file values
- assert load_dotenv with override=True updates os.environ and uses overridden values during interpolation
- assert find_dotenv returns an empty string when the file is not found
- assert set_key returns a 3-tuple of success bool, key name, and set value
파일
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/loader.py
- test/contract.py
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17 · ed25519:d91480838ac982c9