48 lines
686 B
Python
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
|
|
"""
|