From 16be2a0e5c05c1ab9d3cfcc340dab1eff93eddf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E7=A7=8B=E5=B9=B3?= <446105468@qq.com> Date: Mon, 20 Nov 2023 16:08:07 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=20=E6=8F=90=E4=BE=9B=20Agent=20?= =?UTF-8?q?=E5=8C=85=E7=AE=A1=E7=90=86=E5=90=8E=E5=8F=B0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=20(closed=20#1683)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/node_man/tests/test_views/test_package_manage_views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/node_man/tests/test_views/test_package_manage_views.py b/apps/node_man/tests/test_views/test_package_manage_views.py index f865a957a..a7175e4b7 100644 --- a/apps/node_man/tests/test_views/test_package_manage_views.py +++ b/apps/node_man/tests/test_views/test_package_manage_views.py @@ -46,6 +46,7 @@ def test_list(self): def test_list_with_filter_condition(self): # 不筛选 result = self.client.get(path="/api/agent/package/") + print(f"result1={result}") self.assertEqual(result["data"]["total"], 1) self.assertEqual(len(result["data"]["list"]), 1) @@ -131,6 +132,7 @@ def test_destroy(self): def test_quick_search_condition(self): result = self.client.get(path="/api/agent/package/quick_search_condition/") + print(f"result2={result}") for condition in result["data"]: if condition["id"] == "os_cpu_arch": self.assertCountEqual( @@ -151,6 +153,7 @@ def test_quick_search_condition(self): def test_filter_condition_with_agent_pkg_manage(self): result = MetaHandler().filter_condition("agent_pkg_manage") + print(f"result3={result}") for condition in result: if condition["id"] == "version": self.assertCountEqual(