From patchwork Sat Nov 11 19:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 34322 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AE4DC4167D for ; Sat, 11 Nov 2023 19:19:16 +0000 (UTC) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx.groups.io with SMTP id smtpd.web10.2098.1699730352523674380 for ; Sat, 11 Nov 2023 11:19:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PYxwj9QL; spf=pass (domain: gmail.com, ip: 209.85.215.171, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5bdc18756a3so2031733a12.1 for ; Sat, 11 Nov 2023 11:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699730352; x=1700335152; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6lcimKX0lS1WF0t4vmyNpoJBPBwPFbiVJoafNRCkItU=; b=PYxwj9QLIflO40thqbbqHYZxmxB8BhbmNPdrwOQJO0ZOvNpSe2ca2m4e+95Y10CL77 rkbfbFpmhHcYq3QyMpwb6cBRPQ+XP0i9sygyJTlgKjCxMYzcRAUKldI0aJrkxyhSo0ct oj56eYxM25Gub2EfXMdb6YXduuU+WBrU8slnxHUX2mWLu59doyizmV35R9Obj6FLaGbs BeqlJDTY3o4y/3WsUolNebmVFy0jMGc/7anAG+RcdI0PpPxY64tDsy8zmejtvDqpnhIl paIeePVhSlNBSJfB4HY+/NNIHrIHNCmhM4oHwU2VE5HpxvBD0Jj03u0K1TRXAP2cADMg AWKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699730352; x=1700335152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6lcimKX0lS1WF0t4vmyNpoJBPBwPFbiVJoafNRCkItU=; b=np0IO1WBGhR1gToBB49oLKbYAVsua4aQHNwMMA0GQZRYr/17MEuZ6ou4zqbnv5vyAF NwpBYadKErmzOc+iUUxllEGLfN/qDPPz9fitl9lhkE39hYKf40F48X23SRmVbErcfRlc fvHyKujrmKgGJ9w28/vklHCkIQn2Gpxuv0LfG717ITegmgv4DXDNazK6GvXgsSyrdf/+ tCUh5NSjV3pGvDPP7FCZkNhRyqRYeWwGoPRQB98iqPYcudPOXnrsqs41sscoAd00C0Cx IZwTA6mem3rUqzRtlifQW6v0g4jh1szeGY827cO4RKU3AlyHuQYD5Q1FZ9m9P3w+PmLR 0/+A== X-Gm-Message-State: AOJu0YwlMLMriRd96RYA+BnV6WH4Cg0MQHJ8/YhelLXLQE9srqof5tq8 wpQU96JA8N0iaE65rvtDrF0= X-Google-Smtp-Source: AGHT+IE4wn0dduHk9jh0oi30DBv/UbfPAa5ULhifkpMjcEfjQ1Dq0xRK8fBiCJDaVvQS8TG5MxWvDw== X-Received: by 2002:a17:90b:350d:b0:280:f534:6b9c with SMTP id ls13-20020a17090b350d00b00280f5346b9cmr2069697pjb.21.1699730351904; Sat, 11 Nov 2023 11:19:11 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:3313:4488:79b1:32e]) by smtp.gmail.com with ESMTPSA id oo3-20020a17090b1c8300b0028328057c67sm1255997pjb.45.2023.11.11.11.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 11:19:11 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: bitbake-devel@lists.openembedded.org, toaster@lists.yoctoproject.org Cc: Tim Orling Subject: [PATCH 3/3] toaster: test_create_new_project typos, whitespace Date: Sat, 11 Nov 2023 11:17:57 -0800 Message-Id: <20231111191754.2322314-3-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231111191754.2322314-1-tim.orling@konsulko.com> References: <20231111191754.2322314-1-tim.orling@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 11 Nov 2023 19:19:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5998 * Cleanup an extraneous # at the end of the hash bang line. * Cleanup some trailing whitespace errors. * Fix typo inf dunfull -> dunfell. Signed-off-by: Tim Orling --- .../tests/functional/test_create_new_project.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/toaster/tests/functional/test_create_new_project.py b/lib/toaster/tests/functional/test_create_new_project.py index a211d8b7..051709b4 100644 --- a/lib/toaster/tests/functional/test_create_new_project.py +++ b/lib/toaster/tests/functional/test_create_new_project.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python3 # +#! /usr/bin/env python3 # BitBake Toaster UI tests implementation # # Copyright (C) 2023 Savoir-faire Linux @@ -49,7 +49,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): element = self.wait_until_visible('#project-created-notification') self.assertTrue( - self.element_exists('#project-created-notification'), + self.element_exists('#project-created-notification'), f"Project:{project_name} creation notification not shown" ) self.assertTrue( @@ -57,7 +57,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): f"New project name:{project_name} not in new project notification" ) self.assertTrue( - Project.objects.filter(name=project_name).count(), + Project.objects.filter(name=project_name).count(), f"New project:{project_name} not found in database" ) @@ -101,7 +101,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): True, ) - def test_create_new_project_dunfull(self): + def test_create_new_project_dunfell(self): """ Test create new project using: - Project Name: Any string - Release: Yocto Project 3.1 "Dunfell" (option value: 5) @@ -116,7 +116,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): release_title, False, ) - + def test_create_new_project_local(self): """ Test create new project using: - Project Name: Any string