From patchwork Mon Oct 30 19:51:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alassane Yattara X-Patchwork-Id: 33116 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 EAA5DC4167B for ; Mon, 30 Oct 2023 19:51:44 +0000 (UTC) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) by mx.groups.io with SMTP id smtpd.web10.159185.1698695502289666212 for ; Mon, 30 Oct 2023 12:51:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=FdzH+4qu; spf=pass (domain: savoirfairelinux.com, ip: 208.88.110.44, mailfrom: alassane.yattara@savoirfairelinux.com) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id A05F99C332F for ; Mon, 30 Oct 2023 15:51:41 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10032) with ESMTP id mK6LKwhkWo4F; Mon, 30 Oct 2023 15:51:41 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 30F359C113C; Mon, 30 Oct 2023 15:51:41 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com 30F359C113C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1698695501; bh=cubH3MRaAVO5vupGVR+sNvHO6ZC5u9ghm5HvtaTi7+I=; h=From:To:Date:Message-Id:MIME-Version; b=FdzH+4qu9Vyoga1q1gvqd0VGRtjriUQYj32DcVDIpeEpdDz9hzpFTOJrG0xCMJrEV ZJK8WF4qHkf9hKq+eAEG6iQO/Gq03IlIUXeqPU6maCxzUGAZXvI8DH6FMGBNBYuvje LUbm+qkAwD/+AeRQR4AoexNFPb4b3ufOXR8ClYgRqA9+1YVnUE0kpmSPularOpLE5D WS1xzAuNcx7QgpwZe1qFRL9eaSpD0/35PsJzenk+48G0pJlMer9q6zHWmPfNg56ako UEI1thy9UAQwuRnLkOd+Eb1j9rP5rcpsBGbKHgLHJN8xbLsGHa4PuCxgMTjDD/hb7A FynvtTybZ9waQ== X-Virus-Scanned: amavis at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10026) with ESMTP id sOxamjRillVg; Mon, 30 Oct 2023 15:51:41 -0400 (EDT) Received: from localhost.localdomain (unknown [192.168.51.254]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 490729C0C3C; Mon, 30 Oct 2023 15:51:40 -0400 (EDT) From: Alassane Yattara To: toaster@lists.yoctoproject.org Cc: Alassane Yattara Subject: [PATCH 1/8] Toaster: Update toaster-requirements.txt to add pytest and some plugin's Date: Mon, 30 Oct 2023 20:51:25 +0100 Message-Id: <20231030195132.235083-1-alassane.yattara@savoirfairelinux.com> X-Mailer: git-send-email 2.34.1 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 ; Mon, 30 Oct 2023 19:51:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5904 The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries. - Pytest-html is a plugin for pytest that generates a HTML report for test results. - Pytest-django allows us to test Django project/applications with the pytest testing tool. - Pytest-env is a pytest plugin that enables us to set environment variables in a pytest.ini or pyproject.toml file Signed-off-by: Alassane Yattara --- toaster-requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toaster-requirements.txt b/toaster-requirements.txt index d8e48b7f..19bf6fd2 100644 --- a/toaster-requirements.txt +++ b/toaster-requirements.txt @@ -2,3 +2,8 @@ Django>4.2,<4.3 beautifulsoup4>=4.4.0 pytz django-log-viewer==1.1.7 +pytest==7.4.2 +pytest-django==4.5.2 +pytest-env==1.1.0 +pytest-html==4.0.2 +pytest-metadata==3.0.0