fix: resolve CI/CD test failures and linting issues
This commit is contained in:
@@ -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
|
||||
|
||||
[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_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
|
||||
|
||||
Reference in New Issue
Block a user