chore: remove gng, move demo out of lib init

This commit is contained in:
lda committed 2026-09-01 01:58:40 +07:00 Verified
1 parent 497dbe5a00
commit 0df23ea8d1
3 files changed
+60

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import subprocess
import sys
def test_gng_removed():
try:
import agentmsgs.utils # noqa: F401
assert False, "utils should be deleted"
except ModuleNotFoundError:
pass
import agentmsgs
assert hasattr(agentmsgs, "main") or True
def test_import_does_not_print():
result = subprocess.run(
[sys.executable, "-c", "import agentmsgs"],
capture_output=True,
text=True,
)
assert result.stdout == "", f"import printed: {result.stdout!r}"
assert result.returncode == 0