From 3880d17b3662b7ab34b9bd8e8c21d87813232313 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Tue, 6 Apr 2021 10:37:19 +0100 Subject: [PATCH] Extending list_devices test for multiple devices Extending list_devices test to verify more than 0 devices as some will have more than 1 --- python/test/test_kompute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/test/test_kompute.py b/python/test/test_kompute.py index d99dd4485..8c2c1ac55 100644 --- a/python/test/test_kompute.py +++ b/python/test/test_kompute.py @@ -236,6 +236,6 @@ def test_mgr_utils(): devices = mgr.list_devices() - assert len(devices) == 1 + assert len(devices) > 0 assert "device_name" in devices[0]