From e39fd668e796268233412942da28e4576b49d3f3 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 19 Nov 2020 12:32:35 +0800 Subject: [PATCH] test_lava.py: Modify example in function comment of get_device_type_by_name. The example of the function does not match the code. Signed-off-by: Wang Mingyu --- kernelci/lab/lava.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernelci/lab/lava.py b/kernelci/lab/lava.py index f622a63f89..b47797dd17 100644 --- a/kernelci/lab/lava.py +++ b/kernelci/lab/lava.py @@ -32,13 +32,13 @@ def get_device_type_by_name(name, device_types, aliases=[]): Example: IN: - name = "x15" + name = "am57xx-beagle-x15" device_types = ['x15', 'beaglebone-black'], aliases = [ - {'name': 'x15', 'device_type': 'am57xx-beagle-x15'} + {'name': 'am57xx-beagle-x15', 'device_type': 'x15'} ] OUT: - 'am57xx-beagle-x15' + 'x15' """ for device_type in device_types: