Files
config-convert-cli/tests/fixtures/sample_files.py
7000pctAUTO 08e451198b
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
fix: resolve CI/CD test failures and linting issues
2026-02-04 07:32:21 +00:00

48 lines
686 B
Python

"""Sample config files for testing."""
SAMPLE_JSON = """{
"name": "test-project",
"version": "1.0.0",
"debug": true,
"database": {
"host": "localhost",
"port": 5432,
"ssl": false
},
"tags": ["python", "cli"]
}
"""
SAMPLE_YAML = """name: test-project
version: '1.0.0'
debug: true
database:
host: localhost
port: 5432
ssl: false
tags:
- python
- cli
"""
SAMPLE_TOML = """name = "test-project"
version = "1.0.0"
debug = true
[database]
host = "localhost"
port = 5432
ssl = false
tags = ["python", "cli"]
"""
SAMPLE_ENV = """NAME=test-project
VERSION=1.0.0
DEBUG=true
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_SSL=false
TAGS=python,cli
"""