From 73ff4c5afc201f15d4fb5ba2dae9bd0bc84ab33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 1 Sep 2024 14:24:42 -0700 Subject: [PATCH] python312Packages.lmcloud: run tests --- pkgs/development/python-modules/lmcloud/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lmcloud/default.nix b/pkgs/development/python-modules/lmcloud/default.nix index fdf84c20bab3..8dbd37248bcd 100644 --- a/pkgs/development/python-modules/lmcloud/default.nix +++ b/pkgs/development/python-modules/lmcloud/default.nix @@ -5,8 +5,11 @@ buildPythonPackage, fetchFromGitHub, httpx, + pytest-asyncio, + pytestCheckHook, pythonOlder, setuptools, + syrupy, websockets, }: @@ -33,8 +36,11 @@ buildPythonPackage rec { websockets ]; - # Module has no tests - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + syrupy + ]; pythonImportsCheck = [ "lmcloud" ];