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