Some checks are pending
CI — CoM Config Validation / Validate JSON Configs (push) Waiting to run
CI — CoM Config Validation / Validate YAML Configs (push) Waiting to run
CI — CoM Config Validation / Lint Shell Scripts (push) Waiting to run
CI — CoM Config Validation / Secret Detection (push) Waiting to run
CI — CoM Config Validation / Lint Markdown (push) Waiting to run
CI — CoM Config Validation / Validate CODEOWNERS (push) Waiting to run
Public, sanitized mirror of an AI orchestration command center: agents, skills, MCP servers, slash-command workflows. All infrastructure identifiers, hostnames, mesh IPs/subnets, repo paths, maintainer identity, and hardware fleet specifics scrubbed to <placeholders>; session debug logs and host-specific memory removed. No live credentials. Verified clean by automated leak sweep. See SANITIZATION.md. churchofmalware.org . authorized research only
42 lines
741 B
Python
42 lines
741 B
Python
"""Shared fixtures for TDD skill script tests."""
|
|
|
|
import os
|
|
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
SKILL_DIR = Path(__file__).parent.parent
|
|
SCRIPTS_DIR = SKILL_DIR / "scripts"
|
|
FIXTURES_DIR = Path(__file__).parent / "fixtures"
|
|
|
|
|
|
@pytest.fixture
|
|
def scripts_dir():
|
|
return SCRIPTS_DIR
|
|
|
|
|
|
@pytest.fixture
|
|
def python_project():
|
|
return FIXTURES_DIR / "python_project"
|
|
|
|
|
|
@pytest.fixture
|
|
def ts_project():
|
|
return FIXTURES_DIR / "ts_project"
|
|
|
|
|
|
@pytest.fixture
|
|
def go_project():
|
|
return FIXTURES_DIR / "go_project"
|
|
|
|
|
|
@pytest.fixture
|
|
def empty_project():
|
|
return FIXTURES_DIR / "empty_project"
|
|
|
|
|
|
@pytest.fixture
|
|
def tmp_project(tmp_path):
|
|
"""A writable temp directory for tests that need to create files."""
|
|
return tmp_path
|