From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCB55C0650E for ; Mon, 1 Jul 2019 15:38:20 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF167206E0 for ; Mon, 1 Jul 2019 15:38:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF167206E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:60206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhyNn-0001Jq-J5 for qemu-devel@archiver.kernel.org; Mon, 01 Jul 2019 11:38:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38752) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhy9e-0000xo-HE for qemu-devel@nongnu.org; Mon, 01 Jul 2019 11:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhy9d-0005VG-B7 for qemu-devel@nongnu.org; Mon, 01 Jul 2019 11:23:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38182) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hhy9d-0005TG-37; Mon, 01 Jul 2019 11:23:41 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D2748C057F88; Mon, 1 Jul 2019 15:23:37 +0000 (UTC) Received: from localhost.localdomain (ovpn-124-195.rdu2.redhat.com [10.10.124.195]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D4A2BA4D; Mon, 1 Jul 2019 15:23:34 +0000 (UTC) Date: Mon, 1 Jul 2019 11:23:32 -0400 From: Cleber Rosa To: Aleksandar Markovic , ehabkost@redhat.com Message-ID: <20190701152332.GA30640@localhost.localdomain> References: <20190607174953.22342-1-philmd@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 01 Jul 2019 15:23:38 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: Re: [Qemu-devel] [PATCH] BootLinuxSshTest: Only use 'test' for unittest.TestCase method names X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , qemu-trivial@nongnu.org, qemu-devel@nongnu.org, Aleksandar Rikalo , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, Jul 01, 2019 at 05:03:33PM +0200, Aleksandar Markovic wrote: > On Jul 1, 2019 4:22 PM, "Philippe Mathieu-Daud=E9" = wrote: > > > > ping? > > > > On 6/7/19 7:49 PM, Philippe Mathieu-Daud=E9 wrote: > > > In commit f6e501a28ef9, Eduardo started to use "check_" as a > > > prefix for methods of similar purpose. Follow this prior art, > > > since it might become the conventions when writting Avocado > > > tests. > > > > > > Suggested-by: Cleber Rosa > > > Signed-off-by: Philippe Mathieu-Daud=E9 > > > --- >=20 > Reviewed-by: Aleksandar Markovic Reviewed-by: Cleber Rosa And queued on my python-next branch. >=20 > > > tests/acceptance/linux_ssh_mips_malta.py | 10 +++++----- > > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > > > > diff --git a/tests/acceptance/linux_ssh_mips_malta.py > b/tests/acceptance/linux_ssh_mips_malta.py > > > index aafb0c39f6..134f10cac3 100644 > > > --- a/tests/acceptance/linux_ssh_mips_malta.py > > > +++ b/tests/acceptance/linux_ssh_mips_malta.py > > > @@ -162,7 +162,7 @@ class LinuxSSH(Test): > > > self.assertIn(True, ["0dfbe8aa4c20b52e1b8bf3cb6cbdf193" in= line > > > for line in stdout]) > > > > > > - def do_test_mips_malta(self, endianess, kernel_path, uname_m): > > > + def check_mips_malta(self, endianess, kernel_path, uname_m): > > > self.boot_debian_wheezy_image_and_ssh_login(endianess, > kernel_path) > > > > > > stdout, stderr =3D self.ssh_command('uname -a') > > > @@ -184,7 +184,7 @@ class LinuxSSH(Test): > > > kernel_hash =3D '592e384a4edc16dade52a6cd5c785c637bcbc9ad' > > > kernel_path =3D self.fetch_asset(kernel_url, > asset_hash=3Dkernel_hash) > > > > > > - self.do_test_mips_malta('be', kernel_path, 'mips') > > > + self.check_mips_malta('be', kernel_path, 'mips') > > > > > > @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on > Travis-CI') > > > def test_mips_malta32el_kernel3_2_0(self): > > > @@ -199,7 +199,7 @@ class LinuxSSH(Test): > > > kernel_hash =3D 'a66bea5a8adaa2cb3d36a1d4e0ccdb01be8f6c2a' > > > kernel_path =3D self.fetch_asset(kernel_url, > asset_hash=3Dkernel_hash) > > > > > > - self.do_test_mips_malta('le', kernel_path, 'mips') > > > + self.check_mips_malta('le', kernel_path, 'mips') > > > > > > @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on > Travis-CI') > > > def test_mips_malta64eb_kernel3_2_0(self): > > > @@ -213,7 +213,7 @@ class LinuxSSH(Test): > > > 'vmlinux-3.2.0-4-5kc-malta') > > > kernel_hash =3D 'db6eea7de35d36c77d8c165b6bcb222e16eb91db' > > > kernel_path =3D self.fetch_asset(kernel_url, > asset_hash=3Dkernel_hash) > > > - self.do_test_mips_malta('be', kernel_path, 'mips64') > > > + self.check_mips_malta('be', kernel_path, 'mips64') > > > > > > @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on > Travis-CI') > > > def test_mips_malta64el_kernel3_2_0(self): > > > @@ -227,4 +227,4 @@ class LinuxSSH(Test): > > > 'vmlinux-3.2.0-4-5kc-malta') > > > kernel_hash =3D '6a7f77245acf231415a0e8b725d91ed2f3487794' > > > kernel_path =3D self.fetch_asset(kernel_url, > asset_hash=3Dkernel_hash) > > > - self.do_test_mips_malta('le', kernel_path, 'mips64') > > > + self.check_mips_malta('le', kernel_path, 'mips64') > > > > >