From 778bc8ef5dfd25c8e04e8eb901e2922a427811dd Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 07:05:39 +0000 Subject: [PATCH] Initial upload: ConfigConvert CLI with full test suite and CI/CD --- tests/fixtures/sample_files.py | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/fixtures/sample_files.py diff --git a/tests/fixtures/sample_files.py b/tests/fixtures/sample_files.py new file mode 100644 index 0000000..33035a4 --- /dev/null +++ b/tests/fixtures/sample_files.py @@ -0,0 +1,47 @@ +"""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 +"""