import json
import pytest
from aiassistcli import config

@pytest.fixture
def temp_config(monkeypatch, tmp_path):
    fake_config = tmp_path / "config.json"
    monkeypatch.setattr(config, "CONFIG_PATH", fake_config)
    return fake_config


