feat: expand module workflows, dynamic config, notifications and console API

This commit is contained in:
2026-09-04 09:49:37 +08:00
parent 8df5266abb
commit b124d757b0
309 changed files with 89358 additions and 6232 deletions
+18
View File
@@ -52,6 +52,24 @@ def test_runtime_env_files_load_values_without_overriding_process_env(
assert os.environ["GYXX_RUNTIME_ENV_TEST_KEEP"] == "process"
def test_runtime_env_file_fills_an_empty_process_placeholder(
tmp_path: Path,
monkeypatch: pytest.MonkeyPatch,
) -> None:
env_file = tmp_path / "production.env"
env_file.write_text(
"GYXX_RUNTIME_ENV_TEST_EMPTY=from-file\n",
encoding="utf-8",
)
monkeypatch.setenv("GYXX_RUNTIME_ENV_TEST_EMPTY", "")
_load_runtime_environment_files(argparse.Namespace(env_file=[env_file]))
import os
assert os.environ["GYXX_RUNTIME_ENV_TEST_EMPTY"] == "from-file"
def test_runtime_env_file_must_exist(tmp_path: Path) -> None:
missing = tmp_path / "missing.env"