fix: resolve CI/CD test failures and linting issues
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-04 07:32:20 +00:00
parent f507a005a8
commit d682bc5e18

View File

@@ -3,7 +3,6 @@
import pytest
import tempfile
import os
from pathlib import Path
@pytest.fixture
@@ -24,43 +23,43 @@ def sample_json():
@pytest.fixture
def sample_yaml():
return """name: test-project
version: '1.0.0'
debug: true
database:
host: localhost
port: 5432
ssl: false
tags:
- python
- cli
"""
version: '1.0.0'
debug: true
database:
host: localhost
port: 5432
ssl: false
tags:
- python
- cli
"""
@pytest.fixture
def sample_toml():
return """name = "test-project"
version = "1.0.0"
debug = true
version = "1.0.0"
debug = true
[database]
host = "localhost"
port = 5432
ssl = false
[database]
host = "localhost"
port = 5432
ssl = false
tags = ["python", "cli"]
"""
tags = ["python", "cli"]
"""
@pytest.fixture
def sample_env():
return """NAME=test-project
VERSION=1.0.0
DEBUG=true
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_SSL=false
TAGS=python,cli
"""
VERSION=1.0.0
DEBUG=true
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_SSL=false
TAGS=python,cli
"""
@pytest.fixture