From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 51249158087 for ; Tue, 4 Jan 2022 09:07:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D82C2BC025; Tue, 4 Jan 2022 09:07:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5CFB2BC025 for ; Tue, 4 Jan 2022 09:07:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E62D3431E7 for ; Tue, 4 Jan 2022 09:07:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED791285 for ; Tue, 4 Jan 2022 09:07:40 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1641287192.5cdfd69bf4a361442d0ef6325ada851a9edb46de.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gns3-gui/, net-misc/gns3-gui/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch net-misc/gns3-gui/gns3-gui-2.2.28.ebuild X-VCS-Directories: net-misc/gns3-gui/ net-misc/gns3-gui/files/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 5cdfd69bf4a361442d0ef6325ada851a9edb46de X-VCS-Branch: master Date: Tue, 4 Jan 2022 09:07:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b7120110-9027-4ede-b4c6-577f3347f988 X-Archives-Hash: 061448d1ce031b3e055d3024210ee160 commit: 5cdfd69bf4a361442d0ef6325ada851a9edb46de Author: Ionen Wolkens gentoo org> AuthorDate: Tue Jan 4 09:00:32 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jan 4 09:06:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cdfd69b net-misc/gns3-gui: backport tests fix Signed-off-by: Ionen Wolkens gentoo.org> net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch | 13 +++++++++++++ net-misc/gns3-gui/gns3-gui-2.2.28.ebuild | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch b/net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch new file mode 100644 index 000000000000..aad72138710e --- /dev/null +++ b/net-misc/gns3-gui/files/gns3-gui-2.2.28-tests.patch @@ -0,0 +1,13 @@ +https://github.com/GNS3/gns3-gui/commit/a5aa9bfb7a9996c3e07f506110d61c5a319a7468 +--- a/tests/test_link.py ++++ b/tests/test_link.py +@@ -104,9 +104,6 @@ def test_create_link(devices, project, controller): + assert link._link_id is not None + assert not devices[0].ports()[0].isFree() + +- assert link in devices[0].links() +- assert link in devices[1].links() +- + assert link.getNodePort(devices[0]) == devices[0].ports()[0] + assert link.getNodePort(devices[1]) == devices[1].ports()[0] + diff --git a/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild index 1c1a934e12ca..14949a3a803a 100644 --- a/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild +++ b/net-misc/gns3-gui/gns3-gui-2.2.28.ebuild @@ -28,6 +28,10 @@ RDEPEND=" distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${P}-tests.patch +) + src_prepare() { default