fix: resolve CI/CD test and lint failures
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-03 05:31:49 +00:00
parent 7a547e20fe
commit 55496b245f

View File

@@ -68,8 +68,7 @@ class TestLoadData:
assert data["name"] == "test-project"
assert data["version"] == "1.0.0"
def test_load_yaml_file(self):
data = load_data(os.path.join(FIXTURES_DIR, "sample.yaml"))
def test_load_yaml_file(self):n data = load_data(os.path.join(FIXTURES_DIR, "sample.yaml"))
assert data["name"] == "test-project"
assert data["version"] == "1.0.0"
@@ -133,9 +132,7 @@ class TestDumpData:
def test_dump_to_file(self):
data = {"name": "test"}
with tempfile.NamedTemporaryFile(
mode="w", suffix=".json", delete=False
) as f:
with tempfile.NamedTemporaryFile(mode="w", suffix=".json", delete=False) as f:
output_path = f.name
try:
dump_data(data, "json", output_path)