test: replace ad-hoc fake client script with pytest suite

This commit is contained in:
snowy-yang committed 2026-09-12 19:30:46 +08:00
1 parent 05782a2fc2
commit 82ec179d21
6 files changed
+189 -67

No files matched your search

+6 -7
View File
@@ -1,7 +1,7 @@
[project]
name = "linuxawesomebot"
version = "0.1.0"
description = "Add your description here"
description = "OneBot 11 Linux monitoring bot: power/CPU/memory/temps with high-load alerts"
readme = "README.md"
authors = [
{ name = "snowy-yang", email = "102860110+snowy-yang@users.noreply.github.com" }
@@ -12,9 +12,8 @@ dependencies = [
"psutil>=7.2.2",
]
[project.scripts]
linuxawesomebot = "linuxawesomebot:main"
[build-system]
requires = ["uv_build>=0.12.12,<0.13.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
]